Skip to content

Commit 5a9ea21

Browse files
committed
Move array-api submodule to the top-level
1 parent 8b24204 commit 5a9ea21

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "array_api_tests/array-api"]
2-
path = array_api_tests/array-api
2+
path = array-api
33
url = https://github.com/data-apis/array-api/

array_api_tests/stubs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
__all__ = ["category_to_funcs", "array", "extension_to_funcs"]
99

1010

11-
spec_dir = Path(__file__).parent / "array-api" / "spec" / "API_specification"
12-
assert spec_dir.exists(), f"{spec_dir} not found - try `git pull --recurse-submodules`"
11+
spec_dir = Path(__file__).parent.parent / "array-api" / "spec" / "API_specification"
12+
assert spec_dir.exists(), f"{spec_dir} not found - try `git submodule update --init`"
1313
sigs_dir = spec_dir / "signatures"
1414
assert sigs_dir.exists()
1515

0 commit comments

Comments
 (0)