Remove no longer needed noqa: F821 uses

Not needed since pyflakes 2.2.0.
This commit is contained in:
Ran Benita
2020-07-10 09:44:14 +03:00
parent fc702ab7e4
commit a2f021b6f3
34 changed files with 101 additions and 101 deletions

View File

@@ -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