]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
-- SRE 0.9.8: now that the bug is fixed, I might as well enable
authorFredrik Lundh <fredrik@pythonware.com>
Tue, 1 Aug 2000 13:16:55 +0000 (13:16 +0000)
committerFredrik Lundh <fredrik@pythonware.com>
Tue, 1 Aug 2000 13:16:55 +0000 (13:16 +0000)
   the test again...

Lib/test/test_sre.py

index 52e50217ad53a47c345a06a81502b7f9824dfd91..342c33d471994ecf756cd41a89074c96b51db20c 100644 (file)
@@ -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"