Skip to content

Commit dd64df7

Browse files
authored
MAINT: Remove np.int_ (#4867)
1 parent 0a756c0 commit dd64df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_numpy_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def test_constructors():
298298
results = m.converting_constructors([1, 2, 3])
299299
for a in results.values():
300300
np.testing.assert_array_equal(a, [1, 2, 3])
301-
assert results["array"].dtype == np.int_
301+
assert results["array"].dtype == np.dtype(int)
302302
assert results["array_t<int32>"].dtype == np.int32
303303
assert results["array_t<double>"].dtype == np.float64
304304

0 commit comments

Comments
 (0)