jenkins-bot merged this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
wikibase_tests.py: Suppress pywikibot.page.Property.getType DeprecationWarning

Change-Id: I26fcc4351f279347649cae8ff1c4fbfaebc6bc14
---
M tests/wikibase_tests.py
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/wikibase_tests.py b/tests/wikibase_tests.py
index c9626fd..f6bb342 100644
--- a/tests/wikibase_tests.py
+++ b/tests/wikibase_tests.py
@@ -17,7 +17,7 @@
from pywikibot import pagegenerators
from pywikibot.page import WikibasePage, ItemPage, PropertyPage, Page
from pywikibot.site import Namespace, NamespacesDict
-from pywikibot.tools import MediaWikiVersion
+from pywikibot.tools import MediaWikiVersion, suppress_warnings

from tests import join_pages_path, mock
from tests.aspects import (
@@ -1346,6 +1346,7 @@
with self.assertRaisesRegex(pywikibot.InvalidTitle, regex):
PropertyPage(wikidata)

+ @suppress_warnings('pywikibot.page.Property.getType is deprecated')
def test_globe_coordinate(self):
"""Test a coordinate PropertyPage has the correct type."""
wikidata = self.get_repo()

To view, visit change 420258. To unsubscribe, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I26fcc4351f279347649cae8ff1c4fbfaebc6bc14
Gerrit-Change-Number: 420258
Gerrit-PatchSet: 1
Gerrit-Owner: Dalba <dalba.wiki@gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444@gmail.com>
Gerrit-Reviewer: jenkins-bot <>