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.
1 parent b258e19 commit 273e743Copy full SHA for 273e743
1 file changed
vendor_tests/test_vendor.py
@@ -59,7 +59,8 @@ def test_vendor_extra():
59
from .array_api_extra import atleast_nd
60
61
x = xp.asarray(1)
62
- y = atleast_nd(x, ndim=0) # type: ignore[arg-type]
+ x = cast(Array, x)
63
+ y = atleast_nd(x, ndim=0)
64
assert_array_equal(y, x)
65
66
0 commit comments