Skip to content

Commit 46aa91d

Browse files
committed
Make test_signatures ignore the function_stubs._types submodule
1 parent f257a5c commit 46aa91d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

array_api_tests/test_signatures.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
def stub_module(name):
1212
submodules = [m for m in dir(function_stubs) if
13-
inspect.ismodule(getattr(function_stubs, m))]
13+
inspect.ismodule(getattr(function_stubs, m)) and not
14+
m.startswith('_')]
1415
for m in submodules:
1516
if name in getattr(function_stubs, m).__all__:
1617
return m

0 commit comments

Comments
 (0)