path.common: handle FileNotFoundError when trying to import pathlib #207
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)
@@ Coverage Diff @@ ## master #207 +/- ## ========================================== + Coverage 82.04% 82.07% +0.03% ========================================== Files 55 55 Lines 10136 10153 +17 Branches 1141 1141 ========================================== + Hits 8316 8333 +17 Misses 1556 1556 Partials 264 264
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.