Skip to content

Commit d9c4fe0

Browse files
committed
Cosmetic fix for _test_inspectable_func error msg
1 parent 2093a12 commit d9c4fe0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

array_api_tests/test_signatures.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def _test_inspectable_func(sig: Signature, stub_sig: Signature):
9393
stub_param.name in sig.parameters.keys()
9494
), f"Argument '{stub_param.name}' missing from signature"
9595
param = next(p for p in params if p.name == stub_param.name)
96+
f_stub_kind = kind_to_str[stub_param.kind]
9697
assert param.kind in [stub_param.kind, Parameter.POSITIONAL_OR_KEYWORD,], (
9798
f"{param.name} is a {kind_to_str[param.kind]}, "
9899
f"but should be a {f_stub_kind} "

0 commit comments

Comments
 (0)