Skip to content

Commit 1d9f77f

Browse files
committed
Fix trailing whitespace in test file
1 parent b1e1885 commit 1d9f77f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lib/test/test_io/test_textio.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -713,12 +713,12 @@ def test_tell_after_readline_with_multiple_cr(self):
713713
(b'line1\rline2\rline3\r', ['line1\n', 'line2\n', 'line3\n']),
714714
(b'\r\rdata\r', ['\n', '\n', 'data\n']),
715715
]
716-
716+
717717
for data, expected_lines in test_cases:
718718
with self.subTest(data=data):
719719
with self.open(os_helper.TESTFN, "wb") as f:
720720
f.write(data)
721-
721+
722722
with self.open(os_helper.TESTFN, "r") as f:
723723
# Read all lines and call tell() after each
724724
lines_read = []
@@ -732,10 +732,10 @@ def test_tell_after_readline_with_multiple_cr(self):
732732
# This should not cause an assertion failure
733733
pos_after = f.tell()
734734
positions.append((pos_before, pos_after))
735-
735+
736736
# Verify lines read correctly
737737
self.assertEqual(lines_read, expected_lines)
738-
738+
739739
# Verify we can seek back to each position
740740
f.seek(0)
741741
for i, (pos_before, pos_after) in enumerate(positions):

0 commit comments

Comments
 (0)