Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
JSCU-CNI committed Jan 9, 2025
1 parent 943b8ac commit e86bd28
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/helpers/test_fsutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,9 +759,7 @@ def test_reverse_readlines() -> None:
]

vfs.map_file_fh("file_multi_long_single", io.BytesIO((("🦊" * 8000) + ("a" * 200)).encode()))
assert list(fsutil.reverse_readlines(vfs.path("file_multi_long_single").open("rt"))) == [
("🦊" * 8000) + ("a" * 200)
]
assert list(fsutil.reverse_readlines(vfs.path("file_multi_long_single").open("rt"))) == [("🦊" * 8000) + ("a" * 200)]

vfs.map_file_fh("empty", io.BytesIO(b""))
assert list(fsutil.reverse_readlines(vfs.path("empty").open("rt"))) == []
Expand Down

0 comments on commit e86bd28

Please sign in to comment.