@@ -230,7 +230,6 @@ def test_irfftn(self, xp):
230230 for norm in ["backward" , "ortho" , "forward" ]:
231231 xp_assert_close (fft .irfftn (fft .rfftn (x , norm = norm ), norm = norm ), x )
232232
233- @pytest .mark .skip ("hfft is not supported" )
234233 def test_hfft (self , xp ):
235234 x = random (14 ) + 1j * random (14 )
236235 x_herm = np .concatenate ((random (1 ), x , random (1 )))
@@ -246,7 +245,6 @@ def test_hfft(self, xp):
246245 )
247246 xp_assert_close (fft .hfft (x_herm , norm = "forward" ), expect / 30 )
248247
249- @pytest .mark .skip ("ihfft is not supported" )
250248 def test_ihfft (self , xp ):
251249 x = random (14 ) + 1j * random (14 )
252250 x_herm = np .concatenate ((random (1 ), x , random (1 )))
@@ -259,14 +257,12 @@ def test_ihfft(self, xp):
259257 fft .ihfft (fft .hfft (x_herm , norm = norm ), norm = norm ), x_herm
260258 )
261259
262- @pytest .mark .skip ("hfft2 is not supported" )
263260 def test_hfft2 (self , xp ):
264261 x = xp .asarray (random ((30 , 20 )))
265262 xp_assert_close (fft .hfft2 (fft .ihfft2 (x )), x )
266263 for norm in ["backward" , "ortho" , "forward" ]:
267264 xp_assert_close (fft .hfft2 (fft .ihfft2 (x , norm = norm ), norm = norm ), x )
268265
269- @pytest .mark .skip ("ihfft2 is not supported" )
270266 def test_ihfft2 (self , xp ):
271267 x = xp .asarray (random ((30 , 20 )), dtype = xp .float64 )
272268 expect = fft .ifft2 (xp .asarray (x , dtype = xp .complex128 ))[:, :11 ]
@@ -278,14 +274,12 @@ def test_ihfft2(self, xp):
278274 )
279275 xp_assert_close (fft .ihfft2 (x , norm = "forward" ), expect * (30 * 20 ))
280276
281- @pytest .mark .skip ("hfftn is not supported" )
282277 def test_hfftn (self , xp ):
283278 x = xp .asarray (random ((30 , 20 , 10 )))
284279 xp_assert_close (fft .hfftn (fft .ihfftn (x )), x )
285280 for norm in ["backward" , "ortho" , "forward" ]:
286281 xp_assert_close (fft .hfftn (fft .ihfftn (x , norm = norm ), norm = norm ), x )
287282
288- @pytest .mark .skip ("ihfftn is not supported" )
289283 def test_ihfftn (self , xp ):
290284 x = xp .asarray (random ((30 , 20 , 10 )), dtype = xp .float64 )
291285 expect = fft .ifftn (xp .asarray (x , dtype = xp .complex128 ))[:, :, :6 ]
0 commit comments