diff --git a/src/_pytest/stepwise.py b/src/_pytest/stepwise.py index 3365af1b5..1efa2e7ca 100644 --- a/src/_pytest/stepwise.py +++ b/src/_pytest/stepwise.py @@ -1,4 +1,3 @@ -from _pytest.cacheprovider import Cache import pytest @@ -19,9 +18,8 @@ def pytest_addoption(parser): ) -@pytest.hookimpl(tryfirst=True) +@pytest.hookimpl def pytest_configure(config): - config.cache = Cache.for_config(config) config.pluginmanager.register(StepwisePlugin(config), "stepwiseplugin")