Skip to content

Commit e78977e

Browse files
committed
warn-extra-fields-on-bad-lines
1 parent ad1d1da commit e78977e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def _sphinx_build(self, kind: str):
130130
131131
Examples
132132
--------
133-
>>> DocBuilder(num_jobs=4)._sphinx_build("html")
133+
>>> DocBuilder(num_jobs=1)._sphinx_build("html")
134134
"""
135135
if kind not in ("html", "latex", "linkcheck"):
136136
raise ValueError(f"kind must be html, latex or linkcheck, not {kind}")

pandas/tests/io/parser/test_python_parser_only.py

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

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

340340
for index_col in [None, 0]:

0 commit comments

Comments
 (0)