| Dalba claimed this task. Dalba added a comment. |
The Timeout is raised by pytest, it doesn't seem to be related to some bug in deepcopy module. I think this caused by how imagepage property is implemented in TestImageUsage class. It iterates over mysite.allpages. But for a wiki like test.wikidata.org most of pages do not have any image in them. Therefore it has to look into lost of pages before it can find a page that has an image. Naturally it may timeout sometimes.
One solution can be to tell the test suite to only look for an image on the main page and skip the test otherwise. Most wikis have at least one image used on them so this shouldn't be a problem.
TASK DETAIL
EMAIL PREFERENCES
To: Dalba
Cc: jayvdb, Aklapper, Dalba, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Masti, Alchimista, Rxy
Cc: jayvdb, Aklapper, Dalba, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
