Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e54b57 commit b1eb20eCopy full SHA for b1eb20e
1 file changed
Lib/test/test_venv.py
@@ -473,8 +473,9 @@ def do_test_with_pip(self, system_site_packages):
473
# Please check the permissions and owner of that directory. If
474
# executing pip with sudo, you may want sudo's -H flag."
475
# where $HOME is replaced by the HOME environment variable.
476
- err = re.sub("^The directory .* or its parent directory is not owned "
477
- "by the current user .*$", "", err, flags=re.MULTILINE)
+ err = re.sub("^(WARNING: )?The directory .* or its parent directory "
+ "is not owned by the current user .*$", "",
478
+ err, flags=re.MULTILINE)
479
self.assertEqual(err.rstrip(), "")
480
# Being fairly specific regarding the expected behaviour for the
481
# initial bundling phase in Python 3.4. If the output changes in
0 commit comments