jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/667544 )

Change subject: [tests] Update DeprecationWarning of page_exists tests in 
site_tests.py
......................................................................

[tests] Update DeprecationWarning of page_exists tests in site_tests.py

Change-Id: Id848aa848dbc938c941cd80a8597d381038198d2
---
M tests/site_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/site_tests.py b/tests/site_tests.py
index 39274a5..6535c63 100644
--- a/tests/site_tests.py
+++ b/tests/site_tests.py
@@ -307,7 +307,7 @@
         """Test ApiSite methods for getting page-specific info."""
         mysite = self.get_site()
         mainpage = self.get_mainpage()
-        with suppress_warnings('pywikibot.site.APISite.page_exists',
+        with suppress_warnings('pywikibot.site._apisite.APISite.page_exists',
                                DeprecationWarning):
             self.assertIsInstance(mysite.page_exists(mainpage), bool)
         self.assertIsInstance(mysite.page_restrictions(mainpage), dict)

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/667544
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Id848aa848dbc938c941cd80a8597d381038198d2
Gerrit-Change-Number: 667544
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to