- pedantic: make sure "python -t" doesn't complain...
diff --git a/Lib/test/test_sre.py b/Lib/test/test_sre.py
index bc336c1..dc42ed1 100644
--- a/Lib/test/test_sre.py
+++ b/Lib/test/test_sre.py
@@ -1,4 +1,4 @@
-# FIXME: this is basically test_re.py, with a few
+# FIXME: this is basically test_re.py, with a few minor changes
import sys
sys.path=['.']+sys.path
@@ -337,7 +337,7 @@
print repr(repl)+' should be '+repr(expected)
else:
print '=== Failed incorrectly', t
- continue
+ continue
# Try the match on a unicode string, and check that it
# still succeeds.
@@ -359,9 +359,9 @@
if pattern[:2]!='\\B' and pattern[-2:]!='\\B':
obj=sre.compile(pattern)
- result=obj.search(s, result.start(0), result.end(0)+1)
- if result==None:
- print '=== Failed on range-limited match', t
+ result=obj.search(s, result.start(0), result.end(0)+1)
+ if result==None:
+ print '=== Failed on range-limited match', t
# Try the match with IGNORECASE enabled, and check that it
# still succeeds.