Skip to content

Commit 70d8d7e

Browse files
authored
Merge pull request numpy#26112 from ngoldbaum/test-fix
TST: fix incorrect dtype in test
2 parents 20185fd + 65afaf8 commit 70d8d7e

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)