Skip to content

Commit c7d06d9

Browse files
committed
Fix linting issues
1 parent 6d3da10 commit c7d06d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_gzip_compliance.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def test_compresslevel_metadata(self):
420420
expectedXflByte = b'\x02'
421421
with self.subTest(name):
422422
fWrite = igzip.GzipFile(self.filename, 'w',
423-
compresslevel=level)
423+
compresslevel=level)
424424
with fWrite:
425425
fWrite.write(data1)
426426
with open(self.filename, 'rb') as fRead:
@@ -582,8 +582,8 @@ def test_compress(self):
582582
for args in [(), (1,), (2,), (3,), (0,)]:
583583
datac = igzip.compress(data, *args)
584584
self.assertEqual(type(datac), bytes)
585-
with igzip.GzipFile(fileobj=io.BytesIO(datac),
586-
mode="rb") as f:
585+
with igzip.GzipFile(fileobj=io.BytesIO(datac), mode="rb"
586+
) as f:
587587
self.assertEqual(f.read(), data)
588588

589589
def test_compress_mtime(self):
@@ -593,8 +593,8 @@ def test_compress_mtime(self):
593593
with self.subTest(data=data, args=args):
594594
datac = igzip.compress(data, *args, mtime=mtime)
595595
self.assertEqual(type(datac), bytes)
596-
with igzip.GzipFile(fileobj=io.BytesIO(datac),
597-
mode="rb") as f:
596+
with igzip.GzipFile(fileobj=io.BytesIO(datac), mode="rb"
597+
) as f:
598598
f.read(1) # to set mtime attribute
599599
self.assertEqual(f.mtime, mtime)
600600

0 commit comments

Comments
 (0)