Message72833
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... |
|
Date |
User |
Action |
Args |
2008-09-09 09:20:57 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, pitrou, vstinner, ajaksu2, benjamin.peterson |
2008-09-09 09:20:56 | amaury.forgeotdarc | set | messageid: <1220952056.79.0.414232478031.issue3634@psf.upfronthosting.co.za> |
2008-09-09 09:20:55 | amaury.forgeotdarc | link | issue3634 messages |
2008-09-09 09:20:55 | amaury.forgeotdarc | create | |
|