Update __init__.py

This commit is contained in:
Fabien ZARIFIAN 2018-11-05 00:21:12 +01:00 committed by GitHub
parent a447dc86fb
commit 1793ac38a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -476,6 +476,7 @@ class PytestPluginManager(PluginManager):
def consider_pluginarg(self, arg): def consider_pluginarg(self, arg):
if arg.startswith("no:"): if arg.startswith("no:"):
name = arg[3:] name = arg[3:]
# PR #4304 : remove stepwise if cacheprovider is blocked
if name == "cacheprovider": if name == "cacheprovider":
self.consider_pluginarg("no:stepwise") self.consider_pluginarg("no:stepwise")
self.set_blocked(name) self.set_blocked(name)