From 067bebfe2da916d1e681db100be4c9a99ff36694 Mon Sep 17 00:00:00 2001 From: Fredrik Lundh Date: Tue, 1 Aug 2000 13:16:55 +0000 Subject: -- SRE 0.9.8: now that the bug is fixed, I might as well enable the test again... --- Lib/test/test_sre.py | 6 ++---- 1 file 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" -- cgit v0.12