We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9221e5a commit 32ee4dcCopy full SHA for 32ee4dc
pandas/tests/copy_view/index/test_datetimeindex.py
@@ -6,6 +6,7 @@
6
Series,
7
Timestamp,
8
date_range,
9
+ array
10
)
11
import pandas._testing as tm
12
from pandas.tests.copy_view.util import get_array
@@ -67,7 +68,7 @@ def test_constructor_copy_input_datetime_ndarray_default():
67
68
69
def test_constructor_copy_input_datetime_ea_default():
70
# GH 63388
- arr = np.array(["2020-01-01", "2020-01-02"], dtype="datetime64[ns]")
71
+ arr = array(["2020-01-01", "2020-01-02"], dtype="datetime64[ns]")
72
idx = DatetimeIndex(arr)
73
assert not tm.shares_memory(arr, idx.array)
74
0 commit comments