Skip to content

Commit 85fce08

Browse files
committed
Fix test_all
1 parent 247ee6d commit 85fce08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

array_api_compat/cupy/_aliases.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,6 @@ def take_along_axis(x: Array, indices: Array, /, *, axis: int = -1) -> Array:
148148
'bool', 'concat', 'count_nonzero', 'pow', 'sign',
149149
'take_along_axis']
150150

151-
_all_ignore = ['cp', 'get_xp']
151+
152+
def __dir__() -> list[str]:
153+
return __all__

0 commit comments

Comments
 (0)