mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
#10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and assertRaisesRegex.
This commit is contained in:
parent
f10c400b91
commit
ed3a7d2d60
21 changed files with 203 additions and 186 deletions
|
@ -186,7 +186,7 @@ class Test_TestLoader(unittest.TestCase):
|
|||
self.assertEqual(suite.countTestCases(), 1)
|
||||
test = list(suite)[0]
|
||||
|
||||
self.assertRaisesRegexp(TypeError, "some failure", test.m)
|
||||
self.assertRaisesRegex(TypeError, "some failure", test.m)
|
||||
|
||||
################################################################
|
||||
### /Tests for TestLoader.loadTestsFromModule()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue