Commit b1eb20e6 authored by Steve Dower's avatar Steve Dower Committed by GitHub

bpo-37664: Update regex for ignoring cache warning on some buildbots (GH-14960)

parent 3e54b575
...@@ -473,8 +473,9 @@ class EnsurePipTest(BaseTest): ...@@ -473,8 +473,9 @@ class EnsurePipTest(BaseTest):
# Please check the permissions and owner of that directory. If # Please check the permissions and owner of that directory. If
# executing pip with sudo, you may want sudo's -H flag." # executing pip with sudo, you may want sudo's -H flag."
# where $HOME is replaced by the HOME environment variable. # where $HOME is replaced by the HOME environment variable.
err = re.sub("^The directory .* or its parent directory is not owned " err = re.sub("^(WARNING: )?The directory .* or its parent directory "
"by the current user .*$", "", err, flags=re.MULTILINE) "is not owned by the current user .*$", "",
err, flags=re.MULTILINE)
self.assertEqual(err.rstrip(), "") self.assertEqual(err.rstrip(), "")
# Being fairly specific regarding the expected behaviour for the # Being fairly specific regarding the expected behaviour for the
# initial bundling phase in Python 3.4. If the output changes in # initial bundling phase in Python 3.4. If the output changes in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment