Skip to content
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

Pytest 4 deprecation warning on pytest.config #2669

Closed
QuLogic opened this issue May 8, 2019 · 2 comments · Fixed by #2677
Closed

Pytest 4 deprecation warning on pytest.config #2669

QuLogic opened this issue May 8, 2019 · 2 comments · Fixed by #2677

Comments

@QuLogic
Copy link
Contributor

QuLogic commented May 8, 2019

When running pytest 4.4.1, it triggers several deprecation warnings from this line in the test suite:

  /builddir/build/BUILD/distributed-1.27.1/distributed/utils_test.py:786: PytestDeprecationWarning: the `pytest.config` global is deprecated.  Please use `request.config` or `pytest_configure` (if you're a pytest plugin) instead.
    if not pytest.config.getoption("--runslow"):
@mrocklin
Copy link
Member

mrocklin commented May 8, 2019 via email

@QuLogic
Copy link
Contributor Author

QuLogic commented May 8, 2019

I guess something like this pytest example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants