Fix duplicated test case for re. (GH-12662)

This commit is contained in:
MakDon 2019-04-04 18:38:42 +08:00 committed by Serhiy Storchaka
parent 461c416dd7
commit ded4737989
1 changed files with 1 additions and 1 deletions

View File

@ -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