def __setattr__(self, attr, value):
"""Attribute setter. Deprecates lastrevid."""
if attr == 'lastrevid':
issue_deprecation_warning(
'WikibasePage.lastrevid', 'latest_revision_id', 2)
attr = '_revid'
> return super(WikibasePage, self).__setattr__(attr, value)
E AttributeError: can't set attributeIt occurs in multiple places:
- TestNamespaces.test_wikibase_namespace_selection
- TestPropertyPage.test_new_claim
- TestPropertyPage.test_get
see: https://travis-ci.org/wikimedia/pywikibot-core/jobs/197841300