jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/666863 )
Change subject: [doctest] Fix doctest error in LoginStatus
......................................................................
[doctest] Fix doctest error in LoginStatus
Change-Id: Ic2e1d888a80eaa2e7a958811ae8226413cf2f10f
---
M pywikibot/login.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/login.py b/pywikibot/login.py
index fd0b988..cb94816 100644
--- a/pywikibot/login.py
+++ b/pywikibot/login.py
@@ -67,7 +67,7 @@
>>> LoginStatus.IN_PROGRESS.value
-2
>>> LoginStatus.NOT_LOGGED_IN.name
- NOT_LOGGED_IN
+ 'NOT_LOGGED_IN'
>>> int(LoginStatus.AS_USER)
0
>>> LoginStatus(-3).name
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/666863
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: Ic2e1d888a80eaa2e7a958811ae8226413cf2f10f
Gerrit-Change-Number: 666863
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[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