Skip to content

Commit b2fc5ac

Browse files
TST: test_datetime64_factorize on 32bit (#36192)
1 parent 2a5e3cc commit b2fc5ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_algos.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def test_datetime64_factorize(self, writable):
256256
# GH35650 Verify whether read-only datetime64 array can be factorized
257257
data = np.array([np.datetime64("2020-01-01T00:00:00.000")])
258258
data.setflags(write=writable)
259-
expected_codes = np.array([0], dtype=np.int64)
259+
expected_codes = np.array([0], dtype=np.intp)
260260
expected_uniques = np.array(
261261
["2020-01-01T00:00:00.000000000"], dtype="datetime64[ns]"
262262
)

0 commit comments

Comments
 (0)