Skip to content

Commit

Permalink
pre-commit auto-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Sep 13, 2024
1 parent 168bc42 commit dcdfde5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ def test_reverse_readline(self):
order, i.e. the first line that is read corresponds to the last line.
number
"""
with open(os.path.join(TEST_DIR, "3000_lines.txt"), encoding="utf-8", newline="") as f:
with open(
os.path.join(TEST_DIR, "3000_lines.txt"), encoding="utf-8", newline=""
) as f:
for idx, line in enumerate(reverse_readline(f)):
assert isinstance(line, str)
assert line == f"{str(self.NUMLINES - idx)}{os.linesep}"
Expand Down

0 comments on commit dcdfde5

Please sign in to comment.