Skip to content

Commit 2df08a2

Browse files
committed
Sanity check special case params are being generated
1 parent f723e08 commit 2df08a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: array_api_tests/test_special_cases.py

+4
Original file line numberDiff line numberDiff line change
@@ -1197,6 +1197,10 @@ def parse_binary_case_block(case_block: str) -> List[BinaryCase]:
11971197
# its False - Hypothesis will complain if we reject too many examples, thus
11981198
# indicating we've done something wrong.
11991199

1200+
assert len(unary_params) != 0 # sanity check
1201+
assert len(binary_params) != 0 # sanity check
1202+
assert len(iop_params) != 0 # sanity check
1203+
12001204

12011205
@pytest.mark.parametrize("func_name, func, case", unary_params)
12021206
@given(

0 commit comments

Comments
 (0)