Skip to content

Commit 148e6a3

Browse files
committed
Improve coverage
1 parent 47bd168 commit 148e6a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/debugging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def _test_pytest_function(pyfuncitem):
209209
_pdb = pytestPDB._init_pdb()
210210
testfunction = pyfuncitem.obj
211211
pyfuncitem.obj = _pdb.runcall
212-
if "func" in pyfuncitem._fixtureinfo.argnames:
212+
if "func" in pyfuncitem._fixtureinfo.argnames: # noqa
213213
raise ValueError("--trace can't be used with a fixture named func!")
214214
pyfuncitem.funcargs["func"] = testfunction
215215
new_list = list(pyfuncitem._fixtureinfo.argnames)

0 commit comments

Comments
 (0)