diff options
author | Filippo Carra <karrukola@users.noreply.github.com> | 2023-02-27 16:55:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-27 16:55:28 +0100 |
commit | 5268a0f8d9b2bd21b3a26adc89680091c8df416f (patch) | |
tree | fbf03a3559c261b8a492efd5d83f9eabf09d2596 /tests/PexpectTestCase.py | |
parent | 0e668303b0248a74716a2b518b63d23bbbdf29d7 (diff) | |
parent | 4c768bd317fcb5ab6231bf21fc277b8b6ac36fa3 (diff) | |
download | pexpect-5268a0f8d9b2bd21b3a26adc89680091c8df416f.tar.gz |
Merge branch 'pexpect:master' into modern_async
Diffstat (limited to 'tests/PexpectTestCase.py')
-rw-r--r-- | tests/PexpectTestCase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PexpectTestCase.py b/tests/PexpectTestCase.py index 307437e..5d7a168 100644 --- a/tests/PexpectTestCase.py +++ b/tests/PexpectTestCase.py @@ -97,7 +97,7 @@ class PexpectTestCase(unittest.TestCase): raise AssertionError("%s was not raised" % excClass) @contextlib.contextmanager - def assertRaisesRegexp(self, excClass, pattern): + def assertRaisesRegex(self, excClass, pattern): import re try: yield |