From: MakDon <379857334@qq.com> Date: Thu, 4 Apr 2019 10:38:42 +0000 (+0800) Subject: Fix duplicated test case for re. (GH-12662) X-Git-Tag: v3.8.0a4~265 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ded4737989316653469763230036b04513cb62b3;p=python Fix duplicated test case for re. (GH-12662) --- diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py index a379d33aec..5ba9f1652e 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