Drop extra IO type properties only needed by Python 3.6

Python 3.7 is now our minimum-supported Python, and so we don't need to add
these properties any more.

See #2566.
This commit is contained in:
Dave Pearson 2022-10-10 16:32:50 +01:00
parent 419265ba3f
commit 873cb79705
No known key found for this signature in database
GPG key ID: B413E0EF113D4ABF
2 changed files with 0 additions and 16 deletions

View file

@ -5,9 +5,6 @@ def test_null_file():
file = NullFile()
with file:
assert file.write("abc") == 0
assert file.mode == ""
assert file.name == "NullFile"
assert not file.closed()
assert file.close() is None
assert not file.isatty()
assert file.read() == ""