-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Capturing output causes test to fail. #2172
Comments
Hi @GandaG, pytest's exception capture in What happens if you run pytest with Could you try running pytest with a debugger attached and see where it crashes? |
🤦♂️ Sorry, I just went full stupid. I am redirecting the output from the extension module to handle errors. It functions perfectly if I remove that part. Thank you! And sorry :/ |
No worries! Thanks for closing the issue then. |
When running with capture disabled, test passed but with enabled test fails with no reason given. Not sure if relevant, but the test is failing on a c extension module built with cython.
Windows 64-bit, Python 3.4.5 32-bit, pytest 3.0.5
A screenshot with
pip list
and the results of runningpy.test -s
andpy.test
respectively.bethesdalib
is the package being tested.The test code:
Thanks!
The text was updated successfully, but these errors were encountered: