Fix type hints

This commit is contained in:
Adam J. Stewart 2023-05-13 21:21:04 -05:00
parent 93f0865b3a
commit 4413aeebd3
No known key found for this signature in database
GPG Key ID: C66C0675661156FC
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ from typing import Any
from typing import Generator
from typing import List
from typing import Mapping
from typing import MutableMapping
from typing import Optional
from typing import overload
from typing import Tuple

View File

@ -39,8 +39,8 @@ def check_monkeypatch_typeddict(monkeypatch: MonkeyPatch) -> None:
y: float
a: Foo = {"x": 1, "y": 3.14}
monkeypatch.setitem("x", 2)
monkeypatch.delitem("y")
monkeypatch.setitem(a, "x", 2)
monkeypatch.delitem(a, "y")
def check_raises_is_a_context_manager(val: bool) -> None: