Esempio n. 1
0
 def assertRaisesRegex(self, exception, regexp, *args, **kwds):
     # In python 2, alias to the future python 3 function
     return _TestCase.assertRaisesRegexp(self, exception, regexp, *args,
                                         **kwds)
Esempio n. 2
0
 def assertRaisesRegex(
     self, exception, regexp, *args, **kwds
 ):  # pylint: disable=arguments-differ
     # In python 2, alias to the future python 3 function
     return _TestCase.assertRaisesRegexp(self, exception, regexp, *args, **kwds)