[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>
<http://bugs.python.org/issue1876>
__________________________________
More information about the Python-bugs-list
mailing list