Skip to content

Commit de96698

Browse files
committed
wip
1 parent 7c1c4e6 commit de96698

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/tests/io/parser/test_parse_dates.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,9 @@ def test_nat_parse(all_parsers):
780780
with tm.ensure_clean("__nat_parse_.csv") as path:
781781
df.to_csv(path)
782782

783-
result = parser.read_csv(path, index_col=0, parse_dates=["B"])
783+
with tm.assert_produces_warning(None, raise_on_extra_warnings=False):
784+
# pyarrow raises, but not the others, need to figure out why
785+
result = parser.read_csv(path, index_col=0, parse_dates=["B"])
784786
tm.assert_frame_equal(result, df)
785787

786788

@@ -1863,9 +1865,7 @@ def test_date_parser_and_names(all_parsers):
18631865
# GH#33699
18641866
parser = all_parsers
18651867
data = StringIO("""x,y\n1,2""")
1866-
result = parser.read_csv_check_warnings(
1867-
UserWarning,
1868-
"Parsing datetime strings without a format specified",
1868+
result = parser.read_csv(
18691869
data,
18701870
parse_dates=["B"],
18711871
names=["B"],

0 commit comments

Comments
 (0)