summaryrefslogtreecommitdiff
path: root/src/_pytest/stepwise.py
diff options
context:
space:
mode:
authorDavid Szotten <davidszotten@gmail.com>2018-10-17 09:08:40 +0100
committerDavid Szotten <davidszotten@gmail.com>2018-10-17 21:17:54 +0100
commite478f66d8b9d0e25af7aa4695192bf1adf063ba4 (patch)
tree52603133eddb08db1f62efec5da2558b2947bd1e /src/_pytest/stepwise.py
parentc25310d34f3ef454b7c3e363e0bd6802dab78e6e (diff)
downloadpytest-e478f66d8b9d0e25af7aa4695192bf1adf063ba4.tar.gz
cache is set by the cacheprovider
Diffstat (limited to 'src/_pytest/stepwise.py')
-rw-r--r--src/_pytest/stepwise.py4
1 files changed, 1 insertions, 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")