mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
bpo-30397: Add re.Pattern and re.Match. (#1646)
This commit is contained in:
parent
8d5a3aad2f
commit
0b5e61ddca
13 changed files with 120 additions and 107 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue