We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9656432 commit 9c0055fCopy full SHA for 9c0055f
tripy/tests/spec_verification/test_dtype_constraints.py
@@ -148,10 +148,7 @@ def _run_dtype_constraints_subtest(test_data):
148
f"""
149
from {func_obj.__module__} import {func_obj.__qualname__}
150
151
- if {func_name} == "shape":
152
- ret_val = args[0].shape
153
- else:
154
- ret_val = {func_obj.__qualname__}(*args, **kwargs)
+ ret_val = {func_obj.__qualname__}(*args, **kwargs)
155
"""
156
),
157
globals(),
0 commit comments