Magul created this task.
Magul added projects: Pywikibot-core, Pywikibot-tests.

TASK DESCRIPTION
    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 attribute

It 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


TASK DETAIL
https://phabricator.wikimedia.org/T157188

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Magul
Cc: pywikibot-bugs-list, Aklapper, jayvdb, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to