jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/616440 )
Change subject: [doc] mock is part of unittest in Python 3 ......................................................................
[doc] mock is part of unittest in Python 3
Change-Id: I982ba1a7e84d258a3588067698158b40484ca54e --- M tests/README.rst 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/README.rst b/tests/README.rst index 7d10f89..7f84377 100644 --- a/tests/README.rst +++ b/tests/README.rst @@ -266,7 +266,7 @@ @require_modules(['important1', 'musthave2']) def test_require_modules(self):
-@(unittest.)mock.patch +@unittest.mock.patch ----------------------- Replaces `target` with object specified in `new`. Refer to mock's documentation. This is especially useful in tests, where requests to third-parties should be