Skip to content

Commit 4bbe6be

Browse files
authored
Merge pull request #297 from ev-br/fftn_axes_s
MAINT: avoid axis=None and s is not None in test_{fftn,ifftn}
2 parents 9db56ec + c596edb commit 4bbe6be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: array_api_tests/test_fft.py

+3
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ def draw_s_axes_norm_kwargs(x: Array, data: st.DataObject, *, size_gt_1=False) -
5757
s_strat = st.none() | s_strat
5858
s = data.draw(s_strat, label="s")
5959

60+
# Using `axes is None and s is not None` is disallowed by the spec
61+
assume(axes is not None or s is None)
62+
6063
norm = data.draw(st.sampled_from(["backward", "ortho", "forward"]), label="norm")
6164
kwargs = data.draw(
6265
hh.specified_kwargs(

0 commit comments

Comments
 (0)