CLI: Allow spaces in -p arguments
This commit is contained in:
parent
3ad4344656
commit
e16690b642
|
@ -697,6 +697,7 @@ class PytestPluginManager(PluginManager):
|
||||||
parg = opt[2:]
|
parg = opt[2:]
|
||||||
else:
|
else:
|
||||||
continue
|
continue
|
||||||
|
parg = parg.strip()
|
||||||
if exclude_only and not parg.startswith("no:"):
|
if exclude_only and not parg.startswith("no:"):
|
||||||
continue
|
continue
|
||||||
self.consider_pluginarg(parg)
|
self.consider_pluginarg(parg)
|
||||||
|
|
Loading…
Reference in New Issue