summaryrefslogtreecommitdiff
path: root/src/_pytest/debugging.py
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2019-03-06 19:01:27 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2019-03-12 20:10:59 -0300
commit148e6a30c82fd707e00fdd3d169fa6f4b0cf42dd (patch)
tree790f21783ba0006afbe9ebc22a4af8fa15bd8f04 /src/_pytest/debugging.py
parent47bd1688ed0da460fc6b1885e82bb9aa5bd1c3e0 (diff)
downloadpytest-148e6a30c82fd707e00fdd3d169fa6f4b0cf42dd.tar.gz
Improve coverage
Diffstat (limited to 'src/_pytest/debugging.py')
-rw-r--r--src/_pytest/debugging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_pytest/debugging.py b/src/_pytest/debugging.py
index 6dbc0499a..6d51ec59c 100644
--- a/src/_pytest/debugging.py
+++ b/src/_pytest/debugging.py
@@ -209,7 +209,7 @@ def _test_pytest_function(pyfuncitem):
_pdb = pytestPDB._init_pdb()
testfunction = pyfuncitem.obj
pyfuncitem.obj = _pdb.runcall
- if "func" in pyfuncitem._fixtureinfo.argnames:
+ if "func" in pyfuncitem._fixtureinfo.argnames: # noqa
raise ValueError("--trace can't be used with a fixture named func!")
pyfuncitem.funcargs["func"] = testfunction
new_list = list(pyfuncitem._fixtureinfo.argnames)