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.
__array_namespace_info__
1 parent bc1e37e commit 1a33d7cCopy full SHA for 1a33d7c
array_api_tests/stubs.py
@@ -44,7 +44,7 @@
44
45
category_to_funcs: Dict[str, List[FunctionType]] = {}
46
for name, mod in name_to_mod.items():
47
- if name.endswith("_functions"):
+ if name.endswith("_functions") or name == "info": # info functions file just named info.py
48
category = name.replace("_functions", "")
49
objects = [getattr(mod, name) for name in mod.__all__]
50
assert all(isinstance(o, FunctionType) for o in objects) # sanity check
0 commit comments