diff --git a/pybind11_abseil/tests/absl_test.py b/pybind11_abseil/tests/absl_test.py index 404327d..49a9ffd 100644 --- a/pybind11_abseil/tests/absl_test.py +++ b/pybind11_abseil/tests/absl_test.py @@ -377,7 +377,7 @@ def test_fill_span_from_numpy(self): ('read_only', make_read_only_numpy_array()), ('strided_skip', make_strided_numpy_array(2)), ('strided_reverse', make_strided_numpy_array(-1)), - ('non_supported_type', np.zeros(5, dtype=np.unicode_)), + ('non_supported_type', np.zeros(5, dtype=np.str_)), ('native_list', [0] * 5)) def test_fill_span_fails_from(self, values): with self.assertRaises(TypeError):