diff options
Diffstat (limited to 'tests/typing_test_data.py')
-rw-r--r-- | tests/typing_test_data.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/typing_test_data.py b/tests/typing_test_data.py index beb8deebb..84bb3377b 100644 --- a/tests/typing_test_data.py +++ b/tests/typing_test_data.py @@ -48,7 +48,11 @@ def f8(x: Callable[[int, str], int]) -> None: pass -def f9(x: Tuple[int, str], y: Tuple[int, ...]) -> None: +def f9(x: Callable) -> None: + pass + + +def f10(x: Tuple[int, str], y: Tuple[int, ...]) -> None: pass @@ -56,5 +60,6 @@ class CustomAnnotation: def __repr__(self): return 'CustomAnnotation' -def f10(x: CustomAnnotation(), y: 123) -> None: + +def f11(x: CustomAnnotation(), y: 123) -> None: pass |