Message171707
I'd suggest using unittest.TestCase.assertRaises() as a context manager to remove some try-excepts. For example I think function test_userptr_without_set() on line 245 could use:
with self.assertRaises(curses.panel.error):
p.userptr()
I could create a patch if it would help. |
|
Date |
User |
Action |
Args |
2012-10-01 11:44:33 | esc24 | set | recipients:
+ esc24, vstinner, ezio.melotti, chris.jerdonek |
2012-10-01 11:44:33 | esc24 | set | messageid: <1349091873.23.0.595728996139.issue16000@psf.upfronthosting.co.za> |
2012-10-01 11:44:33 | esc24 | link | issue16000 messages |
2012-10-01 11:44:33 | esc24 | create | |
|