Skip to content

Commit

Permalink
Correct type annotations in patch.dict()
Browse files Browse the repository at this point in the history
  • Loading branch information
plannigan committed Apr 19, 2021
1 parent be33132 commit 55e4be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytest_mock/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55e4be7

Please sign in to comment.