summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorGustavo Niemeyer <gustavo@niemeyer.net>2010-09-18 17:36:24 -0300
committerGustavo Niemeyer <gustavo@niemeyer.net>2010-09-18 17:36:24 -0300
commitb64f0d59971eaa6f4d48ac3ebbad7eb867bec5f6 (patch)
treed8d56f6f9f5c05fbc8515f485f74063d4d7e7f15 /NEWS
parentf28880cb3cb0642b96732644fc1a4b8c996d5a48 (diff)
downloadmocker-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--NEWS6
1 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 53327d8..8249f13 100644
--- a/NEWS
+++ b/NEWS
@@ -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