Skip to content

Commit fe4dabb

Browse files
committed
update test
1 parent 620a0e4 commit fe4dabb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test-data/unit/check-async-await.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async def f(x: T) -> T:
7979
return x
8080
[typing fixtures/typing-async.pyi]
8181
[out]
82-
main:5: error: Argument 1 to "f" has incompatible type "T"; expected "int"
82+
main:5: error: Incompatible types in assignment (expression has type "T", variable has type "int")
8383
main:6: note: Revealed type is "builtins.int"
8484

8585
[case testAwaitGeneratorError]
@@ -1102,3 +1102,5 @@ async def test_nested_await() -> str:
11021102

11031103
[builtins fixtures/async_await.pyi]
11041104
[typing fixtures/typing-async.pyi]
1105+
[out]
1106+
main:2: error: Too many arguments for "str"

0 commit comments

Comments
 (0)