diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-12-09 16:13:15 +0000 |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-12-09 16:13:15 +0000 |
commit | 82b230732fab6dc3b8d945feb38bd99712a501fc (patch) | |
tree | 5a5531657fac37d69ceb8f51648032fa1386ec29 /Lib/test/test_sre.py | |
parent | ed69aeedb9031d632c169c8c570777426842dce0 (diff) | |
download | cpython-git-82b230732fab6dc3b8d945feb38bd99712a501fc.tar.gz |
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)
Diffstat (limited to 'Lib/test/test_sre.py')
-rw-r--r-- | Lib/test/test_sre.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 * |