We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
kwargs
assertpy.exception.ExceptionMixin.when_called_with
1 parent eec809d commit a46eea7Copy full SHA for a46eea7
stubs/assertpy/assertpy/exception.pyi
@@ -5,4 +5,5 @@ __tracebackhide__: bool
5
6
class ExceptionMixin:
7
def raises(self, ex: type[BaseException] | BaseException) -> Self: ...
8
- def when_called_with(self, *some_args: Any, **some_kwargs: dict[str, Any]) -> Self: ...
+ # The types of some_args and some_kwargs must equal the types of the called function.
9
+ def when_called_with(self, *some_args: Any, **some_kwargs: Any) -> Self: ...
0 commit comments