diff options
author | Ran Benita <ran@unusedvar.com> | 2020-07-10 09:44:14 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-07-10 13:08:56 +0300 |
commit | a2f021b6f3618f30d0cd5604797ce5069353d864 (patch) | |
tree | e7e646c8eaf22d0958680687e18bf2b64b42e712 /src/_pytest/debugging.py | |
parent | fc702ab7e41a583b0b0658aa2bf7c962a19d3fe7 (diff) | |
download | pytest-a2f021b6f3618f30d0cd5604797ce5069353d864.tar.gz |
Remove no longer needed `noqa: F821` uses
Not needed since pyflakes 2.2.0.
Diffstat (limited to 'src/_pytest/debugging.py')
-rw-r--r-- | src/_pytest/debugging.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/_pytest/debugging.py b/src/_pytest/debugging.py index 63126cbe0..3677d3bf9 100644 --- a/src/_pytest/debugging.py +++ b/src/_pytest/debugging.py @@ -146,7 +146,7 @@ class pytestPDB: # Type ignored because mypy doesn't support "dynamic" # inheritance like this. - class PytestPdbWrapper(pdb_cls): # type: ignore[valid-type,misc] # noqa: F821 + class PytestPdbWrapper(pdb_cls): # type: ignore[valid-type,misc] _pytest_capman = capman _continued = False @@ -349,7 +349,7 @@ def _enter_pdb( rep.toterminal(tw) tw.sep(">", "entering PDB") tb = _postmortem_traceback(excinfo) - rep._pdbshown = True # type: ignore[attr-defined] # noqa: F821 + rep._pdbshown = True # type: ignore[attr-defined] post_mortem(tb) return rep |