Skip to content

Commit d73cdba

Browse files
author
Vahid Tavanashad
committed
fix a test
1 parent 08e1b26 commit d73cdba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dpnp/tests/test_fft.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,9 @@ def test_error(self):
611611
# incorrect norm
612612
assert_raises(ValueError, dpnp.fft.hfft, a, norm="backwards")
613613

614+
@testing.with_requires("numpy>=2.0.0")
614615
@pytest.mark.parametrize("dtype", get_complex_dtypes())
615-
def test_error(self, dtype):
616+
def test_complex_error(self, dtype):
616617
a = generate_random_numpy_array(11, dtype)
617618
ia = dpnp.array(a)
618619
assert_raises(TypeError, dpnp.fft.ihfft, ia)

0 commit comments

Comments
 (0)