Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions array_api_tests/test_special_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -1128,9 +1128,6 @@ def parse_binary_case_block(case_block: str) -> List[BinaryCase]:
iop_params = []
func_to_op: Dict[str, str] = {v: k for k, v in dh.op_to_func.items()}
for stub in category_to_funcs["elementwise"]:
# if stub.__name__ == "abs":
# import ipdb; ipdb.set_trace()

if stub.__doc__ is None:
warn(f"{stub.__name__}() stub has no docstring")
continue
Expand Down Expand Up @@ -1177,8 +1174,8 @@ def parse_binary_case_block(case_block: str) -> List[BinaryCase]:
op = getattr(operator, op_name)
name_to_func[op_name] = op
# We collect inplace operator test cases seperately
if stub.__name__ == "equal":
break
if "equal" in stub.__name__:
continue
iop_name = "__i" + op_name[2:]
iop = getattr(operator, iop_name)
for case in cases:
Expand Down