File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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\n 1,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" ],
You can’t perform that action at this time.
0 commit comments