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 ncoghlan
Recipients arkady.koplyarov, brian.curtin, ncoghlan
Date 2011-03-16.19:46:22
SpamBayes Score 0.087797485
Marked as misclassified No
Message-id <1300304784.25.0.623454205867.issue11577@psf.upfronthosting.co.za>
In-reply-to
Content
unittest provides a utility to help with testing that correct exceptions are raised:

http://docs.python.org/dev/library/unittest#unittest.TestCase.assertRaises
History
Date User Action Args
2011-03-16 19:46:24ncoghlansetrecipients: + ncoghlan, brian.curtin, arkady.koplyarov
2011-03-16 19:46:24ncoghlansetmessageid: <1300304784.25.0.623454205867.issue11577@psf.upfronthosting.co.za>
2011-03-16 19:46:22ncoghlanlinkissue11577 messages
2011-03-16 19:46:22ncoghlancreate