Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1108749?usp=email )

Change subject: tests: update doctest for LexemePage
......................................................................

tests: update doctest for LexemePage

Bug: T383130
Change-Id: Ifcb4d5f0c897424edbb3a94a861fbe8d2cb9f6e5
---
M pywikibot/page/_wikibase.py
1 file changed, 1 insertion(+), 1 deletion(-)

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




diff --git a/pywikibot/page/_wikibase.py b/pywikibot/page/_wikibase.py
index 486cf3d..cc2878f 100644
--- a/pywikibot/page/_wikibase.py
+++ b/pywikibot/page/_wikibase.py
@@ -2139,7 +2139,7 @@
     >>> repo = pywikibot.Site('wikidata')
     >>> L2 = pywikibot.LexemePage(repo, 'L2')  # create a Lexeme page
     >>> list(L2.claims)  # access the claims
-    ['P5402', 'P5831', 'P12690']
+    ['P5402', 'P5831', 'P12690', 'P12448', 'P31', 'P5275', 'P12510', ...]
     >>> len(L2.forms)  # access the forms
     3
     >>> F1 = L2.forms[0]  # access the first form

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1108749?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: Ifcb4d5f0c897424edbb3a94a861fbe8d2cb9f6e5
Gerrit-Change-Number: 1108749
Gerrit-PatchSet: 1
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]

Reply via email to