We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f83627 commit 8dd9cddCopy full SHA for 8dd9cdd
pandas/tests/arrays/test_datetimelike.py
@@ -170,11 +170,11 @@ def test_searchsorted(self):
170
171
# own-type
172
result = arr.searchsorted(arr[1:3])
173
- expected = np.array([1, 2], dtype=np.int64)
+ expected = np.array([1, 2], dtype=np.intp)
174
tm.assert_numpy_array_equal(result, expected)
175
176
result = arr.searchsorted(arr[1:3], side="right")
177
- expected = np.array([2, 3], dtype=np.int64)
+ expected = np.array([2, 3], dtype=np.intp)
178
179
180
# Following numpy convention, NaT goes at the beginning
0 commit comments