Browse Source

MAINT: Remove np.int_ (#4867)

pull/4875/head
Mateusz Sokół 2 years ago committed by GitHub
parent
commit
dd64df73c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tests/test_numpy_array.py

2
tests/test_numpy_array.py

@ -298,7 +298,7 @@ def test_constructors(): @@ -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

Loading…
Cancel
Save