Skip to content

Commit fadcf7e

Browse files
committed
TestRfftn::test_irfftn failes due to input array is not Hermitian Symmetric, so skipping
1 parent dc61d4b commit fadcf7e

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
@@ -1145,6 +1145,10 @@ def test_rfftn(self, xp, dtype, order, enable_nd):
11451145
)
11461146
def test_irfftn(self, xp, dtype, order, enable_nd):
11471147
# assert config.enable_nd_planning == enable_nd
1148+
1149+
if self.s is None and self.axes in [None, (-2, -1)]:
1150+
pytest.skip("Input is not Hermitian Symmetric")
1151+
11481152
a = testing.shaped_random(self.shape, xp, dtype)
11491153
if order == "F":
11501154
a = xp.asfortranarray(a)

0 commit comments

Comments
 (0)