Message171707
| Author |
esc24 |
| Recipients |
chris.jerdonek, esc24, ezio.melotti, vstinner |
| Date |
2012年10月01日.11:44:33 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1349091873.23.0.595728996139.issue16000@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|