| Xqt created this task. Xqt added projects: Pywikibot-core, Pywikibot-tests. Herald added subscribers: pywikibot-bugs-list, Aklapper. |
TASK DESCRIPTION
=================================== FAILURES =================================== _______________________ TestImageUsage.test_image_usage ________________________
self = <tests.site_tests.TestImageUsage testMethod=test_image_usage>
def test_image_usage(self):
"""Test the site.imageusage() method."""
mysite = self.get_site()
> imagepage = self.imagepage
tests/site_tests.py:1092:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/site_tests.py:1075: in imagepage
imagepage = next(iter(page.imagelinks())) # 1st image of page
pywikibot/data/api.py:2775: in __iter__
self.data = ""
pywikibot/data/api.py:2350: in submit
self._data = super(CachedRequest, self).submit()
pywikibot/data/api.py:1894: in submit
self._add_defaults()
pywikibot/data/api.py:1685: in _add_defaults
if self.site.has_extension('ProofreadPage'):
pywikibot/site.py:1361: in callee
return fn(self, *args, **kwargs)
pywikibot/site.py:2696: in has_extension
extensions = self.siteinfo['extensions']
pywikibot/site.py:1639: in __getitem__
return self.get(key, False) # caches and doesn't force it
pywikibot/site.py:1680: in get
return copy.deepcopy(cached[0])
../../../virtualenv/python3.4.6/lib/python3.4/copy.py:155: in deepcopy
y = copier(x, memo)
../../../virtualenv/python3.4.6/lib/python3.4/copy.py:219: in _deepcopy_list
y.append(deepcopy(a, memo))
../../../virtualenv/python3.4.6/lib/python3.4/copy.py:155: in deepcopy
y = copier(x, memo)
../../../virtualenv/python3.4.6/lib/python3.4/copy.py:246: in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
x = 'vcs-system'
memo = {140384073302856: [{'author': 'Michael Dale, Tim Starling, James Heinrich, Jan Gerber, Brion Vibber, Derk-Jan Hartman'...olcounter-desc', 'license': '/wiki/Special:Version/License/Pool_Counter_Client', 'license-name': 'GPL-2.0+', ...}, ...}
_nil = []
def deepcopy(x, memo=None, _nil=[]):
"""Deep copy operation on arbitrary Python objects.
See the module's __doc__ string for more info.
"""
if memo is None:
memo = {}
d = id(x)
y = memo.get(d, _nil)
if y is not _nil:
return y
cls = type(x)
copier = _deepcopy_dispatch.get(cls)
if copier:
> y = copier(x, memo)
E Failed: Timeout >300.0s
../../../virtualenv/python3.4.6/lib/python3.4/copy.py:155: FailedTASK DETAIL
EMAIL PREFERENCES
To: Xqt
Cc: Aklapper, Dalba, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Masti, Alchimista, Rxy
Cc: Aklapper, Dalba, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
