Skip to content

Commit c9f2bd1

Browse files
fixed remaining broken test
1 parent 2a20a2f commit c9f2bd1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/tests/io/parser/test_unsupported.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ def test_c_engine(self):
5555
read_csv(StringIO(data), sep=r"\s")
5656
with tm.assert_produces_warning(parsers.ParserWarning):
5757
read_csv(StringIO(data), sep="\t", quotechar=chr(128))
58-
with tm.assert_produces_warning(parsers.ParserWarning):
58+
with tm.assert_produces_warning(
59+
parsers.ParserWarning, raise_on_extra_warnings=False
60+
):
61+
# Additionally raises DeprecationWarning: gh-16737
5962
read_csv(StringIO(data), skipfooter=1)
6063

6164
text = """ A B C D E

0 commit comments

Comments
 (0)