diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-04-04 16:39:09 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-04-04 16:39:09 (GMT) |
commit | 4f75b643994037c5971fefaaf94baa70c1b7c724 (patch) | |
tree | 6b57a08a63704701e6bf75e284fe099a9a62f2f9 /Lib | |
parent | ab967416122c5aacc321ed5abdbc48de82127315 (diff) | |
download | cpython-4f75b643994037c5971fefaaf94baa70c1b7c724.zip cpython-4f75b643994037c5971fefaaf94baa70c1b7c724.tar.gz cpython-4f75b643994037c5971fefaaf94baa70c1b7c724.tar.bz2 |
fix test_unittest
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_unittest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_unittest.py b/Lib/test/test_unittest.py index 0782119..a9e8450 100644 --- a/Lib/test/test_unittest.py +++ b/Lib/test/test_unittest.py @@ -2608,11 +2608,11 @@ test case def testAssertNotRaisesRegexp(self): self.assertRaisesRegexp( - self.failureException, '^Exception not raised$', + self.failureException, '^Exception not raised by <lambda>$', self.assertRaisesRegexp, Exception, re.compile('x'), lambda: None) self.assertRaisesRegexp( - self.failureException, '^Exception not raised$', + self.failureException, '^Exception not raised by <lambda>$', self.assertRaisesRegexp, Exception, 'x', lambda: None) |