diff options
Diffstat (limited to 'Lib/unittest/case.py')
-rw-r--r-- | Lib/unittest/case.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py index f19afef..c48a63c 100644 --- a/Lib/unittest/case.py +++ b/Lib/unittest/case.py @@ -1273,7 +1273,7 @@ class TestCase(object): Args: expected_exception: Exception class expected to be raised. - expected_regex: Regex (re pattern object or string) expected + expected_regex: Regex (re.Pattern object or string) expected to be found in error message. args: Function to be called and extra positional args. kwargs: Extra kwargs. @@ -1292,7 +1292,7 @@ class TestCase(object): Args: expected_warning: Warning class expected to be triggered. - expected_regex: Regex (re pattern object or string) expected + expected_regex: Regex (re.Pattern object or string) expected to be found in error message. args: Function to be called and extra positional args. kwargs: Extra kwargs. |