diff options
author | MakDon <379857334@qq.com> | 2019-04-04 10:38:42 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2019-04-04 10:38:42 (GMT) |
commit | ded4737989316653469763230036b04513cb62b3 (patch) | |
tree | 003d49474ea2e0dd8b5cfdbbb16af3dce236765d | |
parent | 461c416dd78a98f2bba7f323af8c9738e060b6f2 (diff) | |
download | cpython-ded4737989316653469763230036b04513cb62b3.zip cpython-ded4737989316653469763230036b04513cb62b3.tar.gz cpython-ded4737989316653469763230036b04513cb62b3.tar.bz2 |
Fix duplicated test case for re. (GH-12662)
-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 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 |