Skip to content

Commit 19a1733

Browse files
committed
[FIX] Pre-commit warnings because using pd.XXX
1 parent bc3d7af commit 19a1733

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

pandas/tests/io/parser/test_parse_dates.py

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

16-
from pandas._config import using_string_dtype
17-
1816
import pandas as pd
17+
import pandas._testing as tm
1918
from pandas import (
2019
DataFrame,
2120
DatetimeIndex,
@@ -24,10 +23,9 @@
2423
Series,
2524
Timestamp,
2625
)
27-
import pandas._testing as tm
26+
from pandas._config import using_string_dtype
2827
from pandas.core.indexes.datetimes import date_range
2928
from pandas.core.tools.datetimes import start_caching_at
30-
3129
from pandas.io.parsers import read_csv
3230

3331
pytestmark = pytest.mark.filterwarnings(
@@ -861,11 +859,11 @@ def test_parse_dates_arrow_dtype_as_index(all_parsers):
861859
index_col="a",
862860
dtype_backend="pyarrow",
863861
)
864-
expected = pd.Series(
862+
expected = Series(
865863
[1, 1],
866864
name="b",
867865
dtype="int64[pyarrow]",
868-
index=pd.Index(
866+
index=Index(
869867
[
870868
Timestamp("2000-01-01 00:00:00"),
871869
Timestamp("2000-01-01 00:00:01"),

0 commit comments

Comments
 (0)