nose-devs/nose — Issue #83: Context manager for exception assertions
Author: jpellerin
Created: 2011-12-14 15:58:42+00:00
State: open

The attached files contain a small context manager that can be used instead
of the decorator @nose.tools.raises to narrow the scope of where exceptions
are expected to happen. Docstrings are included, as well as a unit test.

This code is only useful for Python 2.5 and up.

Google Code Info:
Issue #: 175
Author: shlo...@gmx.net
Created On: 2008-03-27T14:04:21.000Z
Closed On: