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
+1 -1
View File
@@ -1537,7 +1537,7 @@ def test_encodedfile_writelines(tmpfile: BinaryIO) -> None:
ef = capture.EncodedFile(tmpfile, encoding="utf-8")
with pytest.raises(TypeError):
ef.writelines([b"line1", b"line2"])
assert ef.writelines(["line3", "line4"]) is None # type: ignore[func-returns-value] # noqa: F821
assert ef.writelines(["line3", "line4"]) is None # type: ignore[func-returns-value]
ef.flush()
tmpfile.seek(0)
assert tmpfile.read() == b"line3line4"