mirror of https://github.com/pypa/pip
add restore re.I flag
This commit is contained in:
parent
2198e2b2ab
commit
4b6ce4fbe4
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue