diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-09 23:07:16 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-09 23:26:00 -0500 |
commit | 871408f80b00877975425fb3dab1602bc934fb1e (patch) | |
tree | df921a967141228cd47e0a57dc59890d6e38c208 /tests | |
parent | 22b5c4c18c56ab642e05b9e44f5bd842968a523b (diff) |
Remove sys.version_info checks
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_file.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/test_file.py b/tests/test_file.py index cbee62ef..b0147450 100644 --- a/tests/test_file.py +++ b/tests/test_file.py @@ -162,15 +162,6 @@ class BufferedFileTest(unittest.TestCase): ) f.close() - def test_buffering_writes(self): - """ - verify that buffered objects can be written - """ - if sys.version_info[0] == 2: - f = LoopbackFile("r+", 16) - f.write(buffer(b"Too small.")) # noqa - f.close() - def test_readable(self): f = LoopbackFile("r") self.assertTrue(f.readable()) |