diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-01 09:06:45 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-01 09:06:45 (GMT) |
commit | 9cba9895028fcb24f242a3577d39f4d43198a0bc (patch) | |
tree | a1778692ebdee57b1bdb434609ed4d73bd185df0 /Lib/test/re_tests.py | |
parent | 7a1104d292cccb563e5bba73d218de08a91d961a (diff) | |
download | cpython-9cba9895028fcb24f242a3577d39f4d43198a0bc.zip cpython-9cba9895028fcb24f242a3577d39f4d43198a0bc.tar.gz cpython-9cba9895028fcb24f242a3577d39f4d43198a0bc.tar.bz2 |
Issue #22838: All test_re tests now work with unittest test discovery.
Diffstat (limited to 'Lib/test/re_tests.py')
-rwxr-xr-x | Lib/test/re_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py index 5d16e3d..7f8075e 100755 --- a/Lib/test/re_tests.py +++ b/Lib/test/re_tests.py @@ -86,7 +86,7 @@ tests = [ (r'\a[\b]\f\n\r\t\v', '\a\b\f\n\r\t\v', SUCCEED, 'found', '\a\b\f\n\r\t\v'), (r'[\a][\b][\f][\n][\r][\t][\v]', '\a\b\f\n\r\t\v', SUCCEED, 'found', '\a\b\f\n\r\t\v'), # NOTE: not an error under PCRE/PRE: - # (r'\u', '', SYNTAX_ERROR), # A Perl escape + (r'\u', '', SYNTAX_ERROR), # A Perl escape (r'\c\e\g\h\i\j\k\m\o\p\q\y\z', 'ceghijkmopqyz', SUCCEED, 'found', 'ceghijkmopqyz'), (r'\xff', '\377', SUCCEED, 'found', chr(255)), # new \x semantics |