jenkins-bot submitted this change.
[doctest] solve i18n doctest
Change-Id: I3ac625bfdf1e195f4322f2017e2e801e84bc61ad
---
M pywikibot/i18n.py
1 file changed, 5 insertions(+), 0 deletions(-)
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 change 667198. To unsubscribe, or for help writing mail filters, visit settings.