Skip to content

Commit 273e743

Browse files
committed
tweak
1 parent b258e19 commit 273e743

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

vendor_tests/test_vendor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def test_vendor_extra():
5959
from .array_api_extra import atleast_nd
6060

6161
x = xp.asarray(1)
62-
y = atleast_nd(x, ndim=0) # type: ignore[arg-type]
62+
x = cast(Array, x)
63+
y = atleast_nd(x, ndim=0)
6364
assert_array_equal(y, x)
6465

6566

0 commit comments

Comments
 (0)