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):
780
780
with tm .ensure_clean ("__nat_parse_.csv" ) as path :
781
781
df .to_csv (path )
782
782
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" ])
784
786
tm .assert_frame_equal (result , df )
785
787
786
788
@@ -1863,9 +1865,7 @@ def test_date_parser_and_names(all_parsers):
1863
1865
# GH#33699
1864
1866
parser = all_parsers
1865
1867
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 (
1869
1869
data ,
1870
1870
parse_dates = ["B" ],
1871
1871
names = ["B" ],
You can’t perform that action at this time.
0 commit comments