Skip to content

Commit 29ca9b4

Browse files
committed
🐛 fix py310 syntax error in a test
1 parent 666d13a commit 29ca9b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/static/accept/scalars.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Literal, TypeAlias
1+
from typing import Any, Literal, TypeAlias, Unpack
22
from typing_extensions import assert_type
33

44
import numpy as np
@@ -121,7 +121,7 @@ assert_type(
121121
S.reshape(1, 1, 1, 1, 1),
122122
np.ndarray[
123123
# len(shape) >= 5
124-
tuple[_1, _1, _1, _1, _1, *tuple[_1, ...]],
124+
tuple[_1, _1, _1, _1, _1, Unpack[tuple[_1, ...]]],
125125
np.dtype[np.bytes_],
126126
],
127127
)

0 commit comments

Comments
 (0)