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
Python 3.8 introduced the typing.TypedDict type to properly annotate dicts with multiple types. It appears that this type is not compatible with the type annotations for monkeypatch.setitem.
Python 3.8 introduced the typing.TypedDict type to properly annotate dicts with multiple types. It appears that this type is not compatible with the type annotations for
monkeypatch.setitem
.The following code runs fine with pytest:
However, it fails with mypy:
Versions
The text was updated successfully, but these errors were encountered: