Skip to content

Commit ef95ba1

Browse files
committed
Valid shapes for test_irfftn
1 parent cd803b8 commit ef95ba1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

array_api_tests/test_fft.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,9 @@ def test_rfftn(x, data):
232232

233233

234234
@given(
235-
x=xps.arrays(dtype=xps.complex_dtypes(), shape=fft_shapes_strat),
235+
x=xps.arrays(
236+
dtype=xps.complex_dtypes(), shape=fft_shapes_strat.filter(lambda s: s[-1] > 1)
237+
),
236238
data=st.data(),
237239
)
238240
def test_irfftn(x, data):

0 commit comments

Comments
 (0)