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 32ee4dc commit b55f4a0Copy full SHA for b55f4a0
pandas/tests/copy_view/index/test_timedeltaindex.py
@@ -6,6 +6,7 @@
6
Timedelta,
7
TimedeltaIndex,
8
timedelta_range,
9
+ array
10
)
11
import pandas._testing as tm
12
from pandas.tests.copy_view.util import get_array
@@ -40,7 +41,7 @@ def test_constructor_copy_input_timedelta_ndarray_default():
40
41
42
def test_constructor_copy_input_timedelta_ea_default():
43
# GH 63388
- arr = np.array([1, 2], dtype="timedelta64[ns]")
44
+ arr = array([1, 2], dtype="timedelta64[ns]")
45
idx = TimedeltaIndex(arr)
46
assert not tm.shares_memory(arr, idx.array)
47
0 commit comments