Skip to content

Commit 81d3ac6

Browse files
committed
Fix lint issues
1 parent f79d077 commit 81d3ac6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_igzip.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ def test_truncated_header(trunc):
431431
with pytest.raises(EOFError):
432432
igzip.decompress(trunc)
433433

434+
434435
def test_very_long_header_in_data():
435436
# header with a very long filename.
436437
header = (b"\x1f\x8b\x08\x08\x00\x00\x00\x00\x00\xff" + 256 * 1024 * b"A" +
@@ -449,7 +450,8 @@ def test_very_long_header_in_file():
449450
with pytest.raises(OverflowError) as error:
450451
with igzip.open(f, "rb") as gzip_file:
451452
gzip_file.read()
452-
error.match(f"header does not fit into buffer of size {igzip.READ_BUFFER_SIZE}")
453+
error.match(
454+
f"header does not fit into buffer of size {igzip.READ_BUFFER_SIZE}")
453455

454456

455457
def test_concatenated_gzip():
@@ -472,7 +474,7 @@ def test_seek():
472474
# Start testing forward seek
473475
gzip_file.seek(500)
474476
assert gzip_file.read(1) == b"A"
475-
gzip_file.seek(1500)# Any positive number should end up at the end
477+
gzip_file.seek(1500)
476478
assert gzip_file.read(1) == b"B"
477479
# Test reverse
478480
gzip_file.seek(500)

0 commit comments

Comments
 (0)