From b64f0d59971eaa6f4d48ac3ebbad7eb867bec5f6 Mon Sep 17 00:00:00 2001 From: Gustavo Niemeyer Date: Sat, 18 Sep 2010 17:36:24 -0300 Subject: 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. --- NEWS | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'NEWS') 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 -- cgit v1.2.1