[issue7855] Add test cases for ctypes/winreg for issues found in IronPython

Michael Foord report at bugs.python.org
Thu Feb 4 20:35:05 CET 2010


Michael Foord <michael at voidspace.org.uk> added the comment:

Dino - if you use assertRaises as a context manager the exception is kept as an attribute on the context. You can make assertions about the exception after the with block has executed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7855>
_______________________________________


More information about the Python-bugs-list mailing list