jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/667198 )

Change subject: [doctest] solve i18n doctest
......................................................................

[doctest] solve i18n doctest

Change-Id: I3ac625bfdf1e195f4322f2017e2e801e84bc61ad
---
M pywikibot/i18n.py
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/i18n.py b/pywikibot/i18n.py
index d69349a..958ff50 100644
--- a/pywikibot/i18n.py
+++ b/pywikibot/i18n.py
@@ -675,6 +675,11 @@

     and so on.

+    >>> # this code snippet is running in test environment
+    >>> # ignore test message "tests: max_retries reduced from 15 to 1"
+    >>> import os
+    >>> os.environ['PYWIKIBOT_TEST_QUIET'] = '1'
+
     >>> from pywikibot import i18n
     >>> i18n.set_messages_package('tests.i18n')
     >>> # use a dictionary

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/667198
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: I3ac625bfdf1e195f4322f2017e2e801e84bc61ad
Gerrit-Change-Number: 667198
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Isaacandy <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to