Skip to content

Pytest 4 deprecation warning on pytest.config #2669

@QuLogic

Description

@QuLogic

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"):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions