Skip to content

Commit

Permalink
trigger error in type tests
Browse files Browse the repository at this point in the history
  • Loading branch information
last-partizan committed May 20, 2022
1 parent 5a08b0e commit ecf70ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pyright/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ecf70ef

Please sign in to comment.