Skip to content

Commit dc61d4b

Browse files
committed
TestRfft2::test_irfft2 failes due to input array is not Hermitian Symmetric, so skipping
1 parent 79404f7 commit dc61d4b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dpnp/tests/third_party/cupy/fft_tests/test_fft.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,6 +1055,10 @@ def test_rfft2(self, xp, dtype, order, enable_nd):
10551055
)
10561056
def test_irfft2(self, xp, dtype, order, enable_nd):
10571057
# assert config.enable_nd_planning == enable_nd
1058+
1059+
if self.s is None and self.axes in [None, (-2, -1)]:
1060+
pytest.skip("Input is not Hermitian Symmetric")
1061+
10581062
a = testing.shaped_random(self.shape, xp, dtype)
10591063
if order == "F":
10601064
a = xp.asfortranarray(a)

0 commit comments

Comments
 (0)