Skip to content

Commit 912e80c

Browse files
committed
Avoid testing against vendored array_api_compat in test_all
1 parent da6d4e4 commit 912e80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_all(library):
2121
import_(library, wrapper=True)
2222

2323
for mod_name in sys.modules:
24-
if 'array_api_compat.' + library not in mod_name:
24+
if not mod_name.startswith('array_api_compat.' + library):
2525
continue
2626

2727
module = sys.modules[mod_name]

0 commit comments

Comments
 (0)