File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1313import numpy as np
1414import pytest
1515
16+ from pandas ._config import using_string_dtype
17+
1618import pandas as pd
17- import pandas ._testing as tm
1819from pandas import (
1920 DataFrame ,
2021 DatetimeIndex ,
2324 Series ,
2425 Timestamp ,
2526)
26- from pandas ._config import using_string_dtype
27+ import pandas ._testing as tm
2728from pandas .core .indexes .datetimes import date_range
2829from pandas .core .tools .datetimes import start_caching_at
2930from pandas .io .parsers import read_csv
@@ -870,8 +871,8 @@ def test_parse_dates_arrow_dtype_as_index(all_parsers):
870871 ],
871872 name = "a" ,
872873 ),
873- ). to_frame ()
874- tm .assert_frame_equal (result , expected )
874+ )
875+ tm .assert_series_equals (result , expected )
875876
876877
877878@xfail_pyarrow # object dtype index
You can’t perform that action at this time.
0 commit comments