[issue1876] bogus attrgetter test in test_operator

Georg Brandl report at bugs.python.org
Sun Jan 20 15:32:32 CET 2008

Georg Brandl added the comment:

As seen from the __eq__ example, the exception should be SyntaxError.
With both changes, it works fine again in r60142.

As for why the test is there, maybe the operator functions had lax error
checking once.

nosy: +georg.brandl
resolution:  -> fixed
status: open -> closed

Tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list