From ded4737989316653469763230036b04513cb62b3 Mon Sep 17 00:00:00 2001 From: MakDon <379857334@qq.com> Date: Thu, 4 Apr 2019 18:38:42 +0800 Subject: [PATCH] Fix duplicated test case for re. (GH-12662) --- Lib/test/re_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1