add restore re.I flag

This commit is contained in:
Ilan Schnell 2020-06-01 23:27:37 -05:00 committed by Tzu-ping Chung
parent 2198e2b2ab
commit 4b6ce4fbe4
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ def check_error(error, result):
raise "string or list expected, found %r" % stderr
for patter in patters:
match = re.search(patter, result.stderr)
match = re.search(patter, result.stderr, re.I)
assert match, 'regex %r not found in stderr: %r' % (
stderr, result.stderr)