diff options
author | Gustavo Niemeyer <gustavo@niemeyer.net> | 2010-09-18 17:36:24 -0300 |
---|---|---|
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2010-09-18 17:36:24 -0300 |
commit | b64f0d59971eaa6f4d48ac3ebbad7eb867bec5f6 (patch) | |
tree | d8d56f6f9f5c05fbc8515f485f74063d4d7e7f15 /NEWS | |
parent | f28880cb3cb0642b96732644fc1a4b8c996d5a48 (diff) | |
download | mocker-b64f0d59971eaa6f4d48ac3ebbad7eb867bec5f6.tar.gz |
Added assertRaisesRegexp() to MockerTestCase. It works similarly to
the version in Python 2.7 and 3.2, except it will also return the error
found. It also works as a context manager for with: statements.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -1.1 (2010-XX-XX) +1.1 (2010-09-18) ================ - mocker.call() now supports a with_object argument. If True, the called @@ -11,6 +11,10 @@ with self.assertRaises(Error): raising_logic() +- Added assertRaisesRegexp() to MockerTestCase. It works similarly to + the version in Python 2.7 and 3.2, except it will also return the error + found. It also works as a context manager for with: statements. + - Added assertIsInstance() and assertNotIsInstance(). - Fixed bug #634566, reported by Mark Hammond, where throw(Error) effects |