diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2018-05-29 15:18:24 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2018-05-29 15:18:34 -0700 |
commit | c091e756084ce017d8d872ffeaf95422f79140f1 (patch) | |
tree | 4c8c82399a6a21217f78ff36a90c3a355f6a0c23 /tests/test_file.py | |
parent | 0bf3fa458deffe1306f226a7257ceda927ca9e8e (diff) |
Blacken under black 18.5b0
Diffstat (limited to 'tests/test_file.py')
-rw-r--r-- | tests/test_file.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_file.py b/tests/test_file.py index d2990118..deacd60a 100644 --- a/tests/test_file.py +++ b/tests/test_file.py @@ -42,7 +42,7 @@ class LoopbackFile(BufferedFile): self.offset = 0 def _read(self, size): - data = self.buffer.getvalue()[self.offset:self.offset + size] + data = self.buffer.getvalue()[self.offset : self.offset + size] self.offset += len(data) return data @@ -226,7 +226,7 @@ class BufferedFileTest(unittest.TestCase): with LoopbackFile("rb+") as f: view = memoryview(data) for offset in offsets: - f.write(view[offset:offset + 8]) + f.write(view[offset : offset + 8]) self.assertEqual(f.read(), data) |