summaryrefslogtreecommitdiff
path: root/Lib/test/re_tests.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-12-01 11:08:27 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2014-12-01 11:08:27 +0200
commitfb028336f9ee741d044b172d49780ce6e1706a42 (patch)
treeac5a3bad3b23def863c1d1ac80f5d4feb55b9581 /Lib/test/re_tests.py
parentcac7ec485bec824d84065ac8ebff789c45c26a7b (diff)
parent9cba9895028fcb24f242a3577d39f4d43198a0bc (diff)
downloadcpython-git-fb028336f9ee741d044b172d49780ce6e1706a42.tar.gz
Issue #22838: All test_re tests now work with unittest test discovery.
Diffstat (limited to 'Lib/test/re_tests.py')
-rwxr-xr-xLib/test/re_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py
index 5d16e3d183..7f8075ec14 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