Skip to content

Commit ccb1706

Browse files
committed
warn-extra-fields-on-bad-lines
1 parent 57698c2 commit ccb1706

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/io/parser/test_python_parser_only.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,8 @@ def line_fixer(_line):
334334
return ["1", "2", "3", "4", "5"]
335335

336336
expected_warning = (
337-
r"Length of header or names \(3\) does not match number of fields in line \(5\)\. "
338-
r"Extra field will be dropped\."
337+
r"Length of header or names \(3\) does not match number of fields in "
338+
r"line \(5\)\. Extra field will be dropped\."
339339
)
340340

341341
for index_col in [None, 0]:

0 commit comments

Comments
 (0)