summaryrefslogtreecommitdiffhomepage
path: root/tests/test_file.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2019-06-08 13:26:37 -0400
committerJeff Forcier <jeff@bitprophet.org>2019-06-08 13:26:37 -0400
commitdd7c91d57869360e3f34c6564e1b3beff65b3d39 (patch)
treeac5e2f31189be466748aebea8d2b3009481e6982 /tests/test_file.py
parent17e412eb7c249a4cc536e70deebd3d889e07e252 (diff)
flake8 now applied to tests, huzzah
Diffstat (limited to 'tests/test_file.py')
-rw-r--r--tests/test_file.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_file.py b/tests/test_file.py
index 32b77762..2a3da74b 100644
--- a/tests/test_file.py
+++ b/tests/test_file.py
@@ -168,7 +168,7 @@ class BufferedFileTest(unittest.TestCase):
"""
if sys.version_info[0] == 2:
f = LoopbackFile("r+", 16)
- f.write(buffer(b"Too small."))
+ f.write(buffer(b"Too small.")) # noqa
f.close()
def test_readable(self):
@@ -215,7 +215,7 @@ class BufferedFileTest(unittest.TestCase):
offsets = range(0, len(data), 8)
with LoopbackFile("rb+") as f:
for offset in offsets:
- f.write(buffer(data, offset, 8))
+ f.write(buffer(data, offset, 8)) # noqa
self.assertEqual(f.read(), data)
@needs_builtin("memoryview")