fix test_unittest
This commit is contained in:
parent
ab96741612
commit
4f75b64399
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue