jenkins-bot has submitted this change and it was merged.
Change subject: Synchronize date.py with compat, disable automatic check.
......................................................................
Synchronize date.py with compat, disable automatic check.
update from compat e29d4a7b6d9e8106fa21388acbd5e9689d05cbd6
SVN release 9834
Change-Id: If7c889228ecd4cbfc7f391a44d38bf5988b818be
---
M pywikibot/date.py
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
Merlijn van Deen: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/date.py b/pywikibot/date.py
index 4aaf983..410540d 100644
--- a/pywikibot/date.py
+++ b/pywikibot/date.py
@@ -2400,6 +2400,6 @@
else:
print(u'Date module has been fully tested')
-# Do a quick test upon module loading!
-# Make sure the date file is correct
-test(quick=True)
+if __name__=="__main__":
+ # Test the date file
+ test(quick=False)
--
To view, visit
https://gerrit.wikimedia.org/r/95201
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If7c889228ecd4cbfc7f391a44d38bf5988b818be
Gerrit-PatchSet: 4
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: jenkins-bot