[issue3634] invalid result value of _weakref.__init__()

Amaury Forgeot d'Arc report at bugs.python.org
Tue Sep 9 11:20:56 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

I think the test should check that TypeError is actually raised:
  self.assertRaises(TypeError, r.__init__, 0, 0, 0, 0, 0)
It's even shorter than the try/except block...

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3634>
_______________________________________


More information about the Python-bugs-list mailing list