diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-07-02 19:54:28 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-07-02 19:54:28 (GMT) |
commit | df781e6a3f05f84015ffc1f354a95c29dcababe2 (patch) | |
tree | 1bcd76ffdca700aad1a1ba2699491d0c5ca8d0b2 /Lib/test/test_sre.py | |
parent | cb9be939559474b20283e43d3e9cd43fc30f1ef1 (diff) | |
download | cpython-df781e6a3f05f84015ffc1f354a95c29dcababe2.zip cpython-df781e6a3f05f84015ffc1f354a95c29dcababe2.tar.gz cpython-df781e6a3f05f84015ffc1f354a95c29dcababe2.tar.bz2 |
reapplied darryl gallion's minimizing repeat fix. I'm still not 100%
sure about this one, but test #133283 now works even with the fix in
place, and so does the test suite. we'll see what comes up...
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 f133c98..e266d14 100644 --- a/Lib/test/test_sre.py +++ b/Lib/test/test_sre.py @@ -245,7 +245,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), RuntimeError) +test("sre.match(r'(x)*?y', 50000*'x'+'y').span()", (0, 50001)) from re_tests import * |