Skip to content

Commit

Permalink
cache is set by the cacheprovider
Browse files Browse the repository at this point in the history
  • Loading branch information
davidszotten committed Oct 17, 2018
1 parent c25310d commit e478f66
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/_pytest/stepwise.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from _pytest.cacheprovider import Cache
import pytest


Expand All @@ -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")


Expand Down

0 comments on commit e478f66

Please sign in to comment.