diff --git a/src/_pytest/config/__init__.py b/src/_pytest/config/__init__.py index 33c6aaac7..5f5ddd81c 100644 --- a/src/_pytest/config/__init__.py +++ b/src/_pytest/config/__init__.py @@ -476,6 +476,7 @@ class PytestPluginManager(PluginManager): def consider_pluginarg(self, arg): if arg.startswith("no:"): name = arg[3:] + # PR #4304 : remove stepwise if cacheprovider is blocked if name == "cacheprovider": self.consider_pluginarg("no:stepwise") self.set_blocked(name)