Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1310120?usp=email )
Change subject: Fix doctest failure in i18n ...................................................................... Fix doctest failure in i18n The mo localisation was removed completely. The ro language code is used instead. Change-Id: Ifb2f201b6874229a0ab07199b3b61088384ed55e Signed-off-by: Xqt <[email protected]> --- M pywikibot/i18n.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/pywikibot/i18n.py b/pywikibot/i18n.py index 0f4c4d9..c8aaf3c 100644 --- a/pywikibot/i18n.py +++ b/pywikibot/i18n.py @@ -927,7 +927,7 @@ ['ab', 'aeb'] >>> i18n.known_languages()[-10:] # doctest: +SKIP ['vo', 'vro', 'wa', 'war', 'xal', 'xmf', 'yi', 'yo', 'yue', 'zh'] - >>> len(i18n.known_languages()) > 250 + >>> len(i18n.known_languages()) >= 250 True >>> 'ab' in i18n.known_languages() True -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1310120?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: Ifb2f201b6874229a0ab07199b3b61088384ed55e Gerrit-Change-Number: 1310120 Gerrit-PatchSet: 3 Gerrit-Owner: Xqt <[email protected]> Gerrit-Reviewer: Xqt <[email protected]> Gerrit-Reviewer: jenkins-bot
_______________________________________________ Pywikibot-commits mailing list -- [email protected] To unsubscribe send an email to [email protected]
