Lines Matching refs:assertRaisesRegexp
1005 self.assertRaisesRegexp(ExceptionMock, re.compile('expect$'), Stub)
1006 self.assertRaisesRegexp(ExceptionMock, 'expect$', Stub)
1007 self.assertRaisesRegexp(ExceptionMock, u'expect$', Stub)
1010 self.assertRaisesRegexp(
1012 self.assertRaisesRegexp, Exception, re.compile('x'),
1014 self.assertRaisesRegexp(
1016 self.assertRaisesRegexp, Exception, 'x',
1018 self.assertRaisesRegexp(
1020 self.assertRaisesRegexp, Exception, u'x',
1027 self.assertRaises(TypeError, self.assertRaisesRegexp, MyExc, lambda: True)
1033 self.assertRaisesRegexp(
1036 self.assertRaisesRegexp, Exception, '^Expected$',
1038 self.assertRaisesRegexp(
1041 self.assertRaisesRegexp, Exception, u'^Expected$',
1043 self.assertRaisesRegexp(
1046 self.assertRaisesRegexp, Exception,