Fix type hints
This commit is contained in:
parent
93f0865b3a
commit
4413aeebd3
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue