-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
isfile check fails within pytest #2040
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
Comments
Oh wow, that's strange. Thanks for the report! |
It also passes with |
I think it's related to the fact that capfd is redirecting file descriptor |
I don't think this is a bug. The same code (which simply tests if |
@The-Compiler - you are correct in that python 3 treats would the recommendation for this test be to do: |
What's the point of this test, or how is the actual test looking like? At least with your minimal example, I think the test should just not exist at all 😉 |
essentially it's an embedded test of hashing a hierarchical dictionary. the key value pairs could have as value a file path. and the |
I would recommend using |
the test below fails when running with
pytest test.py
but not withpytest -s test.py
pip list
of the virtual environment you are usingpython 3.5.2
pytest 3.0.3
OS X (but i believe this fails on other OSes as well)
The text was updated successfully, but these errors were encountered: