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/_io | |
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/_io')
-rw-r--r-- | src/_pytest/_io/saferepr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/_pytest/_io/saferepr.py b/src/_pytest/_io/saferepr.py index 6b9f353a2..823b8d719 100644 --- a/src/_pytest/_io/saferepr.py +++ b/src/_pytest/_io/saferepr.py @@ -98,12 +98,12 @@ class AlwaysDispatchingPrettyPrinter(pprint.PrettyPrinter): level: int, ) -> None: # Type ignored because _dispatch is private. - p = self._dispatch.get(type(object).__repr__, None) # type: ignore[attr-defined] # noqa: F821 + p = self._dispatch.get(type(object).__repr__, None) # type: ignore[attr-defined] objid = id(object) if objid in context or p is None: # Type ignored because _format is private. - super()._format( # type: ignore[misc] # noqa: F821 + super()._format( # type: ignore[misc] object, stream, indent, allowance, context, level, ) return |