summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMakDon <379857334@qq.com>2019-04-04 10:38:42 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-04-04 10:38:42 (GMT)
commitded4737989316653469763230036b04513cb62b3 (patch)
tree003d49474ea2e0dd8b5cfdbbb16af3dce236765d
parent461c416dd78a98f2bba7f323af8c9738e060b6f2 (diff)
downloadcpython-ded4737989316653469763230036b04513cb62b3.zip
cpython-ded4737989316653469763230036b04513cb62b3.tar.gz
cpython-ded4737989316653469763230036b04513cb62b3.tar.bz2
Fix duplicated test case for re. (GH-12662)
-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 a379d33..5ba9f16 100755
--- a/Lib/test/re_tests.py
+++ b/Lib/test/re_tests.py
@@ -109,7 +109,7 @@ tests = [
('(?s)a.b', 'a\nb', SUCCEED, 'found', 'a\nb'),
('(?s)a.*b', 'acc\nccb', SUCCEED, 'found', 'acc\nccb'),
('(?s)a.{4,5}b', 'acc\nccb', SUCCEED, 'found', 'acc\nccb'),
- ('(?s)a.b', 'a\nb', SUCCEED, 'found', 'a\nb'),
+ ('(?s)a.b', 'a\rb', SUCCEED, 'found', 'a\rb'),
(')', '', SYNTAX_ERROR), # Unmatched right bracket
('', '', SUCCEED, 'found', ''), # Empty pattern