[issue11577] testcase for exception binhex.Error
Nick Coghlan
report at bugs.python.org
Wed Mar 16 20:46:24 CET 2011
Nick Coghlan <ncoghlan at gmail.com> added the comment:
unittest provides a utility to help with testing that correct exceptions are raised:
http://docs.python.org/dev/library/unittest#unittest.TestCase.assertRaises
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11577>
_______________________________________
More information about the Python-bugs-list
mailing list