Serhiy Storchaka added the comment: I think should be tests for following cases:
1) __fspath__ doesn't exist; 2) __fspath__ is not callable or calling __fspath__() raises an exception; 3) the result of __fspath__() is not valid (wrong type). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27512> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com