From 55e4be7c1f619e62a973e07cad01810392d5101c Mon Sep 17 00:00:00 2001 From: Patrick Lannigan Date: Mon, 19 Apr 2021 10:41:35 -0400 Subject: [PATCH] Correct type annotations in patch.dict() --- src/pytest_mock/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pytest_mock/plugin.py b/src/pytest_mock/plugin.py index ddcf0b5..15147bc 100644 --- a/src/pytest_mock/plugin.py +++ b/src/pytest_mock/plugin.py @@ -267,7 +267,7 @@ def multiple( def dict( self, - in_dict: Mapping[Any, Any], + in_dict: Union[Mapping[Any, Any], str], values: Union[Mapping[Any, Any], Iterable[Tuple[Any, Any]]] = (), clear: bool = False, **kwargs: Any