FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-32667: Fix tests when $PATH contains a file by vstinner · Pull Request #5322 · python/cpython · GitHub

Repository navigation

bpo-32667: Fix tests when $PATH contains a file - #5322

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:path_env_contains_file
Jan 25, 2018
Merged

vstinner merged 1 commit into
python:masterfrom
vstinner:path_env_contains_file

Conversation

vstinner commented Jan 25, 2018 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Some tests failed when the PATH environment variable contained a path
to an existing file. Fix tests to ignore also NotADirectoryError, not
only FileNotFoundError and PermissionError.

https://bugs.python.org/issue32667

Some tests failed when the PATH environment variable contained a path
to an existing file. Fix tests to ignore also NotADirectoryError, not
only FileNotFoundError and PermissionError.

Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 25, 2018
Some tests failed when the PATH environment variable contained a path
to an existing file. Fix tests to ignore also NotADirectoryError, not
only FileNotFoundError and PermissionError.
(cherry picked from commit b31206a)

Copy link
Copy Markdown

GH-5323 is a backport of this pull request to the 3.6 branch.

vstinner pushed a commit that referenced this pull request Jan 25, 2018
Some tests failed when the PATH environment variable contained a path
to an existing file. Fix tests to ignore also NotADirectoryError, not
only FileNotFoundError and PermissionError.
(cherry picked from commit b31206a)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL