Skip to content

Commit eb9580a

Browse files
DimitriPapadopoulosMaanasArora
authored andcommitted
MNT Fix broken test
1 parent 1cb8e25 commit eb9580a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/_core/tests/test_ufunc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def test_signature_dtype_instances_allowed(self, get_kwarg):
495495
assert int64 is not int64_2
496496

497497
assert np.add(1, 2, **get_kwarg(int64_2)).dtype == int64
498-
td = np.timedelta(2, "s")
498+
td = np.timedelta64(2, "s")
499499
assert np.add(td, td, **get_kwarg("m8")).dtype == "m8[s]"
500500

501501
msg = "The `dtype` and `signature` arguments to ufuncs"

0 commit comments

Comments
 (0)