commit | acee48628d6df976170c289227def0644cf2dbf5 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sun Sep 03 08:15:19 2000 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sun Sep 03 08:15:19 2000 +0000 |
tree | da1a8cc893ee0396f76b6d3ce938124cdf3d32db | |
parent | 6ebd299cee42f26921b45eb8d5259f016ddf3553 [diff] |
Repair failing test_sre.py. This was a funny one! The test very subtly relied on 1.5.2's behavior of treating "\x%" as "\x%", i.e. ignoring that was an \x escape that didn't make sense. But /F implemented PEP 223, which causes 2.0 to raise an exception on the bad escape. Fixed by merely making the 3 such strings of this kind into raw strings.