refine plugin registration, allow new "-p no:NAME" way to prevent/undo plugin registration
This commit is contained in:
@@ -730,7 +730,7 @@ class FuncargRequest:
|
||||
raise self.LookupError(msg)
|
||||
|
||||
def showfuncargs(config):
|
||||
from _pytest.session import Session
|
||||
from _pytest.main import Session
|
||||
session = Session(config)
|
||||
session.perform_collect()
|
||||
if session.items:
|
||||
|
||||
Reference in New Issue
Block a user