Skip to content

Commit 1ff0819

Browse files
author
TrigonaMinima
committed
TST: fix flake8 errors - test_datetime.py (GH14854)
1 parent 9311161 commit 1ff0819

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

pandas/tests/indexes/test_datetime.py

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import warnings
22
import numpy as np
3-
from numpy.random import rand
4-
from datetime import datetime, time, timedelta, date
3+
from datetime import time, timedelta, date
54

65
import pandas as pd
76
import pandas.tslib as tslib
@@ -16,9 +15,7 @@
1615
bdate_range, offsets, datetime, DatetimeIndex, _np_version_under1p8, NaT,
1716
notnull, PeriodIndex, _np_version_under1p10, Timedelta, TimedeltaIndex)
1817

19-
from pandas.util.testing import (
20-
assert_frame_equal, assert_series_equal, assert_almost_equal,
21-
_skip_if_has_locale, slow)
18+
from pandas.util.testing import assert_series_equal, assert_almost_equal
2219

2320
from pandas.tests.test_base import Ops
2421

@@ -2851,10 +2848,6 @@ def test_equals(self):
28512848
self.assertFalse(idx.equals(pd.Series(idx3)))
28522849

28532850

2854-
2855-
2856-
2857-
28582851
class TestDateTimeIndexToJulianDate(tm.TestCase):
28592852

28602853
def test_1700(self):

0 commit comments

Comments
 (0)