MAINT: Remove np.int_ (#4867)

This commit is contained in:
Mateusz Sokół 2023-10-03 18:12:58 +02:00 committed by GitHub
parent 0a756c0bb2
commit dd64df73c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,7 +298,7 @@ def test_constructors():
results = m.converting_constructors([1, 2, 3])
for a in results.values():
np.testing.assert_array_equal(a, [1, 2, 3])
assert results["array"].dtype == np.int_
assert results["array"].dtype == np.dtype(int)
assert results["array_t<int32>"].dtype == np.int32
assert results["array_t<double>"].dtype == np.float64