コード例 #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)
コード例 #2
0
ファイル: unit.py プロジェクト: yambehis/salt
 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)