Skip to content

Commit 0a90c28

Browse files
committed
Fix test by updating expected warning text
After pypa/pip@1ee270a
1 parent 1761e1b commit 0a90c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_venv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ def do_test_with_pip(self, system_site_packages):
513513
# executing pip with sudo, you may want sudo's -H flag."
514514
# where $HOME is replaced by the HOME environment variable.
515515
err = re.sub("^(WARNING: )?The directory .* or its parent directory "
516-
"is not owned by the current user .*$", "",
516+
"is not owned or is not writable by the current user.*$", "",
517517
err, flags=re.MULTILINE)
518518
self.assertEqual(err.rstrip(), "")
519519
# Being fairly specific regarding the expected behaviour for the

0 commit comments

Comments
 (0)