-
Notifications
You must be signed in to change notification settings - Fork 14
Warnings when running tests #14
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
This kind of makes sense: pytest 3.9 adds warnings for the features that will be gone in 4.0, but these warnings are not there in 3.8. However, I grepped the source for "Session" and didn't find anything. A more detailed investigation is needed to see what's causing the warnings. |
When I replace this warning with an exception and adjust some try-except clauses higher up the stack to let the exception propagate, I get this stack trace:
Seems like pytest is just raising warnings at itself, not sure what I could do to help it resolve this internal conflict :/ |
Yeah that sucks, we missed those warnings and they ended up in the release. They should be fixed soon by pytest-dev/pytest#4164. 👍 |
oh, I see. Thanks for looking into this, @kvas-it, @nicoddemus! |
Thank you for the insight, @nicoddemus! No worries then, I guess we don't need to do anything here. |
Environment
python 3.6
pytest 3.9.1
virtualenv 16.0.0
Observed behaviour
When running the tests, they all pass, but there are a series of warnings that are caused by Pytest depreciations:
Expected behaviour
No warnings are shown
Additional comments
From some further investigation, it looks like the warnings are caused by
pytest
's latest release (3.9.1). If the tests are run usingpytest 3.8.2
this warnings are no longer raised.The text was updated successfully, but these errors were encountered: