Skip to content

Commit fbf510e

Browse files
Update irbuild-basic.test
1 parent 6bcc8a8 commit fbf510e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mypyc/test-data/irbuild-basic.test

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3591,9 +3591,9 @@ L0:
35913591
return wrapper
35923592

35933593
[case testStarArgFastPathList]
3594-
from typing import Any, Callable, List
3595-
def deco(fn: Callable[..., Any]) -> Callable[[List[Any]], Any]:
3596-
def wrapper(args: List[Any]) -> Any:
3594+
from typing import Any, Callable
3595+
def deco(fn: Callable[..., Any]) -> Callable[[list[Any]], Any]:
3596+
def wrapper(args: list[Any]) -> Any:
35973597
return fn(*args)
35983598
return wrapper
35993599

@@ -3642,9 +3642,9 @@ L0:
36423642
return wrapper
36433643

36443644
[case testStarArgFastPathListWithKwargs]
3645-
from typing import Any, Callable, Dict, List
3645+
from typing import Any, Callable
36463646
def deco(fn: Callable[..., Any]) -> Callable[..., Any]:
3647-
def wrapper(lst: List[Any], kwargs: Dict[str, Any]) -> Any:
3647+
def wrapper(lst: list[Any], kwargs: dict[str, Any]) -> Any:
36483648
return fn(*lst, **kwargs)
36493649
return wrapper
36503650

0 commit comments

Comments
 (0)