Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix pytest with mixed up filename casing. #5792
This fixes a bug that occurs on Windows when the casing of the current working directory is different from the actual casing as stored in the filesystem, and a setup.py is found in the parent directory (such that rootdir != startdir).
A unittest is included. To reproduce manually, in a folder
CI seems flaky
EDIT: pycov doesn't seem to like empty commits... https://codecov.io/gh/pytest-dev/pytest/compare/0215bcd84e900d9271558df98bed89f4b96187f8...1489f9208e405d3ed54b93e93cf6ce465c74c252/changes
EDIT2: py35 Failed a second time https://travis-ci.org/pytest-dev/pytest/jobs/577770604