@@ -420,7 +420,7 @@ def test_compresslevel_metadata(self):
420
420
expectedXflByte = b'\x02 '
421
421
with self .subTest (name ):
422
422
fWrite = igzip .GzipFile (self .filename , 'w' ,
423
- compresslevel = level )
423
+ compresslevel = level )
424
424
with fWrite :
425
425
fWrite .write (data1 )
426
426
with open (self .filename , 'rb' ) as fRead :
@@ -582,8 +582,8 @@ def test_compress(self):
582
582
for args in [(), (1 ,), (2 ,), (3 ,), (0 ,)]:
583
583
datac = igzip .compress (data , * args )
584
584
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 :
587
587
self .assertEqual (f .read (), data )
588
588
589
589
def test_compress_mtime (self ):
@@ -593,8 +593,8 @@ def test_compress_mtime(self):
593
593
with self .subTest (data = data , args = args ):
594
594
datac = igzip .compress (data , * args , mtime = mtime )
595
595
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 :
598
598
f .read (1 ) # to set mtime attribute
599
599
self .assertEqual (f .mtime , mtime )
600
600
0 commit comments