Skip to content

Commit b28f46f

Browse files
committed
Fix flake8
1 parent 9ef9a07 commit b28f46f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/test_csv.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import io
2-
import pytest
3-
import sys
42
import os
3+
import sys
4+
5+
import pytest
6+
57
from stdlib import csv
68

79
# Add src directory to PYTHONPATH to allow direct import of stdlib
@@ -230,7 +232,8 @@ def test_embedded_newlines_in_quoted_fields(self):
230232
# Let's assume strict=True for this test.
231233
with pytest.raises(csv.Error, match="unclosed quote"):
232234
list(csv.reader(io.StringIO('a,"b\nc",d'), strict=True))
233-
# If not strict, it might yield `[['a', 'b']]` or `[['a', '"b']]` for `a,"b\n`. The current reader's unclosed quote error isn't bypassed by non-strict mode.
235+
# If not strict, it might yield `[['a', 'b']]` or `[['a', '"b']]` for `a,"b\n`.
236+
# The current reader's unclosed quote error isn't bypassed by non-strict mode.
234237

235238
def test_empty_lines_and_whitespace_lines(self):
236239
data = "\r\n \r\nval1,val2\r\n\r\n" # Empty line, whitespace line, data, empty line

0 commit comments

Comments
 (0)