File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1128,9 +1128,6 @@ def parse_binary_case_block(case_block: str) -> List[BinaryCase]:
11281128iop_params = []
11291129func_to_op : Dict [str , str ] = {v : k for k , v in dh .op_to_func .items ()}
11301130for stub in category_to_funcs ["elementwise" ]:
1131- # if stub.__name__ == "abs":
1132- # import ipdb; ipdb.set_trace()
1133-
11341131 if stub .__doc__ is None :
11351132 warn (f"{ stub .__name__ } () stub has no docstring" )
11361133 continue
@@ -1177,8 +1174,8 @@ def parse_binary_case_block(case_block: str) -> List[BinaryCase]:
11771174 op = getattr (operator , op_name )
11781175 name_to_func [op_name ] = op
11791176 # We collect inplace operator test cases seperately
1180- if stub . __name__ == "equal" :
1181- break
1177+ if "equal" in stub . __name__ :
1178+ continue
11821179 iop_name = "__i" + op_name [2 :]
11831180 iop = getattr (operator , iop_name )
11841181 for case in cases :
You can’t perform that action at this time.
0 commit comments