diff options
author | Gustavo Niemeyer <gustavo@niemeyer.net> | 2010-06-20 19:49:46 -0300 |
---|---|---|
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2010-06-20 19:49:46 -0300 |
commit | 89bcdecfe4e13112a793afc261274bac375c8638 (patch) | |
tree | 4f09546a877eab661b30d092082a4b7efc12942f /NEWS | |
parent | 3a4c487d0d08f51dca83e31f35aae5ecb3affb82 (diff) | |
parent | a94098f9400c9b67b5d281dc90bdc51569a7a79a (diff) | |
download | mocker-89bcdecfe4e13112a793afc261274bac375c8638.tar.gz |
MockerTestCase.assertRaises() will now return the exception raised,
allowing further inspection of the raised exception (implemented by
Thomas Hervé) (#299930).
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7,6 +7,10 @@ - Unwrap bound methods on replace() and proxy(), as suggested by James Henstridge (#270782). +- MockerTestCase.assertRaises() will now return the exception raised, + allowing further inspection of the raised exception (implemented by + Thomas Hervé) (#299930). + - Fixed support for Python 2.6. Mocking of iterators was broken in certain cases because, even though that's *not* documented, Python tries to use __length_hint__ in some cases. |