Fixed test slightly
@@ -150,13 +150,10 @@ class TestBasic:
vals = vals[:, xp.newaxis] + 1j * vals[xp.newaxis, :]
return scp.special.expm1(vals)
- @testing.for_dtypes("efdFD")
+ @testing.for_dtypes("efd")
@numpy_cupy_allclose(scipy_name="scp", rtol=1e-6)
def test_cosm1(self, xp, scp, dtype):
vals = xp.linspace(-50, 50, 200, dtype=dtype)
- if xp.dtype(dtype).kind == 'c':
- # broadcast to mix small and large real and imaginary parts
- vals = vals[:, xp.newaxis] + 1j * vals[xp.newaxis, :]
return scp.special.cosm1(vals)
@testing.for_dtypes("efd")
