Message350537
When explaining the usage of keyword arguments on mock.patch:
```
patch() takes arbitrary keyword arguments. These will be passed to the Mock (or new_callable) on construction.
```
default new_callable is MagicMock and it should be mentioned here instead of Mock (even tough MagickMock inherits from it). |
|
Date |
User |
Action |
Args |
2019-08-26 15:11:48 | phsilva | set | recipients:
+ phsilva, docs@python |
2019-08-26 15:11:48 | phsilva | set | messageid: <1566832308.08.0.460509709565.issue37955@roundup.psfhosted.org> |
2019-08-26 15:11:47 | phsilva | link | issue37955 messages |
2019-08-26 15:11:47 | phsilva | create | |
|