summaryrefslogtreecommitdiff
path: root/Lib/test/test_re.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_re.py')
-rw-r--r--Lib/test/test_re.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py
index f166188fb4..3b1f7c6180 100644
--- a/Lib/test/test_re.py
+++ b/Lib/test/test_re.py
@@ -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)