Skip to content

Commit

Permalink
MAINT: Remove np.int_ (#4867)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsokol committed Oct 3, 2023
1 parent 0a756c0 commit dd64df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_numpy_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dd64df7

Please sign in to comment.