You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mypy sometimes reports incorrect errors when using async/async with
One example is when using aiofiles.open
These errors appeared when upgrading from 0.782 to 0.790
Bug Report
Mypy sometimes reports incorrect errors when using async/async with
One example is when using aiofiles.open
These errors appeared when upgrading from 0.782 to 0.790
To Reproduce
The following code reproduces the errors:
Expected Behavior
No error should be reported
Actual Behavior
2 errors in test_async_with:
1 error in test_async:
test.py:11: error: Incompatible types in "await" (actual type "AsyncBufferedReader", expected type "Awaitable[Any]")
Your Environment
mypy.ini
(and other config files): NoneThe text was updated successfully, but these errors were encountered: