mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Raise statement normalization in Lib/test/.
This commit is contained in:
parent
e0281cab81
commit
3add4d78ff
47 changed files with 218 additions and 218 deletions
|
@ -612,7 +612,7 @@ def run_re_tests():
|
|||
elif len(t) == 3:
|
||||
pattern, s, outcome = t
|
||||
else:
|
||||
raise ValueError, ('Test tuples should have 3 or 5 fields', t)
|
||||
raise ValueError('Test tuples should have 3 or 5 fields', t)
|
||||
|
||||
try:
|
||||
obj = re.compile(pattern)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue