jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/892035 )
Change subject: [tests] Fix doctest ......................................................................
[tests] Fix doctest
Change-Id: I89e28e04c209462c3024d43963be7aab4cfd880b --- M pywikibot/page/_filepage.py 1 file changed, 11 insertions(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/page/_filepage.py b/pywikibot/page/_filepage.py index 2da1649..1916925 100644 --- a/pywikibot/page/_filepage.py +++ b/pywikibot/page/_filepage.py @@ -6,7 +6,7 @@ * FileInfo: a structure holding imageinfo of latest revision of FilePage """ # -# (C) Pywikibot team, 2008-2022 +# (C) Pywikibot team, 2008-2023 # # Distributed under the terms of the MIT license. # @@ -189,7 +189,7 @@ >>> file = pywikibot.FilePage(site, 'Pywikibot MW gear icon.svg') >>> used = list(file.using_pages(total=10)) >>> len(used) - 1 + 2 >>> used[0].title() 'Pywikibot'