Skip to content

Commit c9c4d49

Browse files
committed
import fixup
1 parent d2e43dc commit c9c4d49

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pandas/tests/indexes/datetimes/test_construction.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import pandas as pd
88
from pandas import offsets
99
import pandas.util.testing as tm
10-
from pandas._libs import lib
1110
from pandas._libs.tslib import OutOfBoundsDatetime
1211
from pandas._libs.tslibs import conversion
1312
from pandas import (DatetimeIndex, Index, Timestamp, datetime, date_range,
@@ -537,7 +536,7 @@ def test_datetimeindex_constructor_misc(self):
537536
arr = [datetime(2005, 1, 1), '1/2/2005', '1/3/2005', '2005-01-04']
538537
idx2 = DatetimeIndex(arr)
539538

540-
arr = [tslib.Timestamp(datetime(2005, 1, 1)), '1/2/2005', '1/3/2005',
539+
arr = [Timestamp(datetime(2005, 1, 1)), '1/2/2005', '1/3/2005',
541540
'2005-01-04']
542541
idx3 = DatetimeIndex(arr)
543542

pandas/tests/io/json/test_ujson.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def test_npy_nat(self):
425425
assert ujson.encode(input) == 'null', "Expected null"
426426

427427
def test_datetime_units(self):
428-
from pandas._libs.lib import Timestamp
428+
from pandas._libs.tslib import Timestamp
429429

430430
val = datetime.datetime(2013, 8, 17, 21, 17, 12, 215504)
431431
stamp = Timestamp(val)

0 commit comments

Comments
 (0)