From 5f9ec7a7647d4b8810e3c8cb6136d1749684b55d Mon Sep 17 00:00:00 2001 From: Jeremy Schendel Date: Wed, 8 Jan 2020 21:04:45 -0700 Subject: [PATCH] CI: Fix linting error --- pandas/core/indexes/datetimes.py | 1 - pandas/tests/tseries/offsets/test_offsets.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py index 0c40900d54b53..b620818004f98 100644 --- a/pandas/core/indexes/datetimes.py +++ b/pandas/core/indexes/datetimes.py @@ -16,7 +16,6 @@ from pandas.core.accessor import delegate_names from pandas.core.arrays.datetimes import ( DatetimeArray, - _to_M8, tz_to_dtype, validate_tz_from_dtype, ) diff --git a/pandas/tests/tseries/offsets/test_offsets.py b/pandas/tests/tseries/offsets/test_offsets.py index c8b322b3c832a..17eef5ec9f598 100644 --- a/pandas/tests/tseries/offsets/test_offsets.py +++ b/pandas/tests/tseries/offsets/test_offsets.py @@ -23,7 +23,8 @@ from pandas.errors import PerformanceWarning import pandas._testing as tm -from pandas.core.indexes.datetimes import DatetimeIndex, _to_M8, date_range +from pandas.core.arrays.datetimes import _to_M8 +from pandas.core.indexes.datetimes import DatetimeIndex, date_range from pandas.core.series import Series from pandas.io.pickle import read_pickle