This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:33esc24setrecipients: + esc24, vstinner, ezio.melotti, chris.jerdonek
2012-10-01 11:44:33esc24setmessageid: <1349091873.23.0.595728996139.issue16000@psf.upfronthosting.co.za>
2012-10-01 11:44:33esc24linkissue16000 messages
2012-10-01 11:44:33esc24create