summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-08-01 13:16:55 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2000-08-01 13:16:55 (GMT)
commit067bebfe2da916d1e681db100be4c9a99ff36694 (patch)
treedfa56932351887b29f599c1f204e11e1b21dfbe6
parentc2ed621d7564494c908329932f87cd2954c8af72 (diff)
downloadcpython-067bebfe2da916d1e681db100be4c9a99ff36694.zip
cpython-067bebfe2da916d1e681db100be4c9a99ff36694.tar.gz
cpython-067bebfe2da916d1e681db100be4c9a99ff36694.tar.bz2
-- SRE 0.9.8: now that the bug is fixed, I might as well enable
the test again...
-rw-r--r--Lib/test/test_sre.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/test/test_sre.py b/Lib/test/test_sre.py
index 52e5021..342c33d 100644
--- a/Lib/test/test_sre.py
+++ b/Lib/test/test_sre.py
@@ -152,10 +152,8 @@ try:
assert sre.split("(?::*)", ":a:b::c") == ['', 'a', 'b', 'c']
assert sre.split("(:)*", ":a:b::c") == ['', ':', 'a', ':', 'b', ':', 'c']
assert sre.split("([b:]+)", ":a:b::c") == ['', ':', 'a', ':b::', 'c']
-## print sre.split("(b)|(:+)", ":a:b::c")
-## print ['', None, ':', 'a', None, ':', '', 'b', None, '', None, '::', 'c']
-## assert sre.split("(b)|(:+)", ":a:b::c") == \
-## ['', None, ':', 'a', None, ':', '', 'b', None, '', None, '::', 'c']
+ assert sre.split("(b)|(:+)", ":a:b::c") == \
+ ['', None, ':', 'a', None, ':', '', 'b', None, '', None, '::', 'c']
assert sre.split("(?:b)|(?::+)", ":a:b::c") == ['', 'a', '', '', 'c']
except AssertionError:
raise TestFailed, "sre.split"