Skip to content

Commit 2e74835

Browse files
committed
[FIX] Imports that changed place
1 parent 19a1733 commit 2e74835

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pandas/tests/io/parser/test_parse_dates.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
import numpy as np
1414
import pytest
1515

16+
from pandas._config import using_string_dtype
17+
1618
import pandas as pd
17-
import pandas._testing as tm
1819
from pandas import (
1920
DataFrame,
2021
DatetimeIndex,
@@ -23,7 +24,7 @@
2324
Series,
2425
Timestamp,
2526
)
26-
from pandas._config import using_string_dtype
27+
import pandas._testing as tm
2728
from pandas.core.indexes.datetimes import date_range
2829
from pandas.core.tools.datetimes import start_caching_at
2930
from 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

0 commit comments

Comments
 (0)