We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b549438 commit ff5e98cCopy full SHA for ff5e98c
src/_pytest/debugging.py
@@ -256,7 +256,7 @@ def _test_pytest_function(pyfuncitem):
256
_pdb = pytestPDB._init_pdb()
257
testfunction = pyfuncitem.obj
258
pyfuncitem.obj = _pdb.runcall
259
- if "func" in pyfuncitem._fixtureinfo.argnames: # noqa
+ if "func" in pyfuncitem._fixtureinfo.argnames: # pragma: no branch
260
raise ValueError("--trace can't be used with a fixture named func!")
261
pyfuncitem.funcargs["func"] = testfunction
262
new_list = list(pyfuncitem._fixtureinfo.argnames)
0 commit comments