don't expose _fillfuncargs (no clue why it ever was exposed)
This commit is contained in:
parent
07cee24122
commit
bfe6e98abb
|
@ -588,7 +588,8 @@ class TestFillFuncArgs:
|
||||||
item.config.pluginmanager.register(Provider())
|
item.config.pluginmanager.register(Provider())
|
||||||
if hasattr(item, '_args'):
|
if hasattr(item, '_args'):
|
||||||
del item._args
|
del item._args
|
||||||
pytest._fillfuncargs(item)
|
from _pytest.python import fillfuncargs
|
||||||
|
fillfuncargs(item)
|
||||||
assert len(item.funcargs) == 1
|
assert len(item.funcargs) == 1
|
||||||
|
|
||||||
class TestRequest:
|
class TestRequest:
|
||||||
|
|
Loading…
Reference in New Issue