-
-
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
[bug] pytest always raises a deprecation warning #3415
Comments
GitMate.io thinks possibly related issues are #2469 (pytest deprecated_call contextmanager not always seeing warnings), #176 (pytest.raises(AssertionError) fails with cython modules), #767 (pytest.raises() doesn't always return Exception instance in py26), #1370 (Print out pytest-warnings?), and #3348 (pytest.raises should complain about unknown arguments). |
What plugins are you using? (i.e. paste the output from the whole pytest run, please). |
@blueyed
|
@pydo |
@nicoddemus |
Thanks that fixed it. |
Description
Pytest always raises the following deprecation warning:
Even though I'm not using the old declaration style for fixtures.
pytest version: pytest==3.5.0
python version: 3.5.2
pip-list: https://gist.github.com/pydo/b234d9f9b9e9ca8b368dc5d86a092ac7
OS distro: Ubuntu 16.04 - 4.13.0-38-generic
Repo steps
test_file.py
:pytest test_file.py
Expected behavior
Pytest does not display any deprecation warnings in its test results
Actual behavior
This warning is always displayed:
The text was updated successfully, but these errors were encountered: