Skip to content
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

path.common: handle FileNotFoundError when trying to import pathlib #207

Merged
merged 3 commits into from Apr 5, 2019

Commits on Apr 5, 2019

  1. path.common: handle FileNotFoundError when trying to import pathlib

    Python 3.4 might raise FileNotFoundError due to `os.getcwd()` failing on
    a non-existing cwd.  This is fixed in Python 3.5.
    
    Ref: pytest-dev/pytest#4787 (comment)
    blueyed committed Apr 5, 2019
    Copy the full SHA
    33afe63 View commit details
    Browse the repository at this point in the history
  2. Handle missing FileNotFoundError

    Might not really be necessary, since py27 triggers the ImportError
    always already, but better to be safe.
    blueyed committed Apr 5, 2019
    Copy the full SHA
    a64cb3f View commit details
    Browse the repository at this point in the history
  3. changelog [ci skip]

    blueyed committed Apr 5, 2019
    Copy the full SHA
    95a2085 View commit details
    Browse the repository at this point in the history