diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-01 13:16:55 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-01 13:16:55 (GMT) |
commit | 067bebfe2da916d1e681db100be4c9a99ff36694 (patch) | |
tree | dfa56932351887b29f599c1f204e11e1b21dfbe6 /Lib/test/test_sre.py | |
parent | c2ed621d7564494c908329932f87cd2954c8af72 (diff) | |
download | cpython-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...
Diffstat (limited to 'Lib/test/test_sre.py')
-rw-r--r-- | Lib/test/test_sre.py | 6 |
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" |