From ecf70efe6e9b6f874f030825b3ee0d827f5ee071 Mon Sep 17 00:00:00 2001 From: Serg Tereshchenko Date: Fri, 20 May 2022 20:51:26 +0300 Subject: [PATCH] trigger error in type tests --- tests/pyright/test_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pyright/test_file.py b/tests/pyright/test_file.py index f9db440..b4f0485 100644 --- a/tests/pyright/test_file.py +++ b/tests/pyright/test_file.py @@ -20,7 +20,7 @@ def decorator_with_invalid_param(fn=DECORATED): def test_normal_decorator(): @function_decorator - def decorator(scope="test", fn=DECORATED): # type: (str, Any) -> Callable[..., Any] + def decorator(scope="test", fn=DECORATED): # type: (int, Any) -> Callable[..., Any] return fn # Ok