Skip to content

Commit 65afaf8

Browse files
committed
TST: fix incorrect dtype in test
1 parent 20185fd commit 65afaf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/_core/tests/test_stringdtype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ def test_multiply_reduce():
766766

767767

768768
def test_multiply_two_string_raises():
769-
arr = np.array(["hello", "world"])
769+
arr = np.array(["hello", "world"], dtype="T")
770770
with pytest.raises(np._core._exceptions._UFuncNoLoopError):
771771
np.multiply(arr, arr)
772772

0 commit comments

Comments
 (0)