From 82b230732fab6dc3b8d945feb38bd99712a501fc Mon Sep 17 00:00:00 2001 From: Fredrik Lundh Date: Sun, 9 Dec 2001 16:13:15 +0000 Subject: bug #133283, #477728, #483789, #490573 backed out of broken minimal repeat patch from July also fixed a couple of minor potential resource leaks in pattern_subx (Guido had already fixed the big one) --- Lib/test/test_sre.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_sre.py') diff --git a/Lib/test/test_sre.py b/Lib/test/test_sre.py index 6442036cfd..abd55db1d6 100644 --- a/Lib/test/test_sre.py +++ b/Lib/test/test_sre.py @@ -296,7 +296,7 @@ if verbose: # implementation of repeated groups. test("sre.match('(x)*', 50000*'x').span()", (0, 50000), RuntimeError) test("sre.match(r'(x)*y', 50000*'x'+'y').span()", (0, 50001), RuntimeError) -test("sre.match(r'(x)*?y', 50000*'x'+'y').span()", (0, 50001)) +test("sre.match(r'(x)*?y', 50000*'x'+'y').span()", (0, 50001), RuntimeError) from re_tests import * -- cgit v1.2.1