Skip to content

Commit 96e5d1f

Browse files
committed
one more fixup for windows (tointmax is hardcoded to 64bit)
1 parent 979cd87 commit 96e5d1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/typing/tests/data/reveal/random.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,8 +1551,8 @@ assert_type(random_st.random_sample(1), npt.NDArray[np.float64])
15511551
assert_type(random_st.random_sample(size=(1, 2)), npt.NDArray[np.float64])
15521552

15531553
assert_type(random_st.tomaxint(), int)
1554-
assert_type(random_st.tomaxint(1), npt.NDArray[np.int_])
1555-
assert_type(random_st.tomaxint((1,)), npt.NDArray[np.int_])
1554+
assert_type(random_st.tomaxint(1), npt.NDArray[np.int64])
1555+
assert_type(random_st.tomaxint((1,)), npt.NDArray[np.int64])
15561556

15571557
assert_type(np.random.set_bit_generator(pcg64), None)
15581558
assert_type(np.random.get_bit_generator(), np.random.BitGenerator)

0 commit comments

Comments
 (0)