We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 620a0e4 commit fe4dabbCopy full SHA for fe4dabb
test-data/unit/check-async-await.test
@@ -79,7 +79,7 @@ async def f(x: T) -> T:
79
return x
80
[typing fixtures/typing-async.pyi]
81
[out]
82
-main:5: error: Argument 1 to "f" has incompatible type "T"; expected "int"
+main:5: error: Incompatible types in assignment (expression has type "T", variable has type "int")
83
main:6: note: Revealed type is "builtins.int"
84
85
[case testAwaitGeneratorError]
@@ -1102,3 +1102,5 @@ async def test_nested_await() -> str:
1102
1103
[builtins fixtures/async_await.pyi]
1104
1105
+[out]
1106
+main:2: error: Too many arguments for "str"
0 commit comments