refine plugin registration, allow new "-p no:NAME" way to prevent/undo plugin registration

This commit is contained in:
holger krekel
2010-12-06 16:54:42 +01:00
parent 752965c298
commit c7531705fc
17 changed files with 169 additions and 102 deletions

View File

@@ -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: