From e478f66d8b9d0e25af7aa4695192bf1adf063ba4 Mon Sep 17 00:00:00 2001 From: David Szotten Date: Wed, 17 Oct 2018 09:08:40 +0100 Subject: [PATCH] cache is set by the cacheprovider --- src/_pytest/stepwise.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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")