Skip to content

Commit 55e4be7

Browse files
committed
Correct type annotations in patch.dict()
1 parent be33132 commit 55e4be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_mock/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def multiple(
267267

268268
def dict(
269269
self,
270-
in_dict: Mapping[Any, Any],
270+
in_dict: Union[Mapping[Any, Any], str],
271271
values: Union[Mapping[Any, Any], Iterable[Tuple[Any, Any]]] = (),
272272
clear: bool = False,
273273
**kwargs: Any

0 commit comments

Comments
 (0)