don't expose _fillfuncargs (no clue why it ever was exposed)

This commit is contained in:
holger krekel 2011-03-05 14:29:10 +01:00
parent 07cee24122
commit bfe6e98abb
1 changed files with 2 additions and 1 deletions

View File

@ -588,7 +588,8 @@ class TestFillFuncArgs:
item.config.pluginmanager.register(Provider())
if hasattr(item, '_args'):
del item._args
pytest._fillfuncargs(item)
from _pytest.python import fillfuncargs
fillfuncargs(item)
assert len(item.funcargs) == 1
class TestRequest: