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 47bd168 commit 148e6a3Copy full SHA for 148e6a3
src/_pytest/debugging.py
@@ -209,7 +209,7 @@ def _test_pytest_function(pyfuncitem):
209
_pdb = pytestPDB._init_pdb()
210
testfunction = pyfuncitem.obj
211
pyfuncitem.obj = _pdb.runcall
212
- if "func" in pyfuncitem._fixtureinfo.argnames:
+ if "func" in pyfuncitem._fixtureinfo.argnames: # noqa
213
raise ValueError("--trace can't be used with a fixture named func!")
214
pyfuncitem.funcargs["func"] = testfunction
215
new_list = list(pyfuncitem._fixtureinfo.argnames)
0 commit comments