Author phsilva
Recipients docs@python, phsilva
Date 2019-08-26.15:11:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:48phsilvasetrecipients: + phsilva, docs@python
2019-08-26 15:11:48phsilvasetmessageid: <>
2019-08-26 15:11:47phsilvalinkissue37955 messages
2019-08-26 15:11:47phsilvacreate