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):
-(a)(unittest.)mock.patch
+(a)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
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/616440
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I982ba1a7e84d258a3588067698158b40484ca54e
Gerrit-Change-Number: 616440
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged