8000 [3.7] bpo-37664: Update regex for ignoring cache warning on some buildbots (GH-14960) by miss-islington · Pull Request #14964 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.7] bpo-37664: Update regex for ignoring cache warning on some buildbots (GH-14960) #14964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bpo-37664: Update regex for ignoring cache warning on some buildbots (G…
…H-14960)

(cherry picked from commit b1eb20e)

Co-authored-by: Steve Dower <steve.dower@python.org>
  • Loading branch information
zooba authored and miss-islington committed Jul 26, 2019
commit df94b96fe64f32bbaa3517be69923f4bb9542ee2
5 changes: 3 additions & 2 deletions Lib/test/test_venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,9 @@ def do_test_with_pip(self, system_site_packages):
# Please check the permissions and owner of that directory. If
# executing pip with sudo, you may want sudo's -H flag."
# where $HOME is replaced by the HOME environment variable.
err = re.sub("^The directory .* or its parent directory is not owned "
"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 .*$", "",
err, flags=re.MULTILINE)
self.assertEqual(err.rstrip(), "")
# Being fairly specific regarding the expected behaviour for the
# initial bundling phase in Python 3.4. If the output changes in
Expand Down
0