summaryrefslogtreecommitdiff
path: root/tests/PexpectTestCase.py
diff options
context:
space:
mode:
authorFilippo Carra <karrukola@users.noreply.github.com>2023-02-27 16:55:28 +0100
committerGitHub <noreply@github.com>2023-02-27 16:55:28 +0100
commit5268a0f8d9b2bd21b3a26adc89680091c8df416f (patch)
treefbf03a3559c261b8a492efd5d83f9eabf09d2596 /tests/PexpectTestCase.py
parent0e668303b0248a74716a2b518b63d23bbbdf29d7 (diff)
parent4c768bd317fcb5ab6231bf21fc277b8b6ac36fa3 (diff)
downloadpexpect-5268a0f8d9b2bd21b3a26adc89680091c8df416f.tar.gz
Merge branch 'pexpect:master' into modern_async
Diffstat (limited to 'tests/PexpectTestCase.py')
-rw-r--r--tests/PexpectTestCase.py2
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