@@ -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