jenkins-bot submitted this change.

View Change

Approvals: Matěj Suchánek: Looks good to me, approved jenkins-bot: Verified
[cleanup] remove test for Page.isEmpty()

Page.isEmpty() is deprecated for 5 years. No tests needed for this
outdated method.

Change-Id: I5f0dc07933397d397e771235ee4519253cea6574
M tests/
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/tests/ b/tests/
index 8a3ccbb..b20b4e5 100644
--- a/tests/
+++ b/tests/
@@ -459,10 +459,6 @@
self.assertIsInstance(mainpage.isIpEdit(), bool)
self.assertIsInstance(mainpage.exists(), bool)
self.assertIsInstance(mainpage.isRedirectPage(), bool)
- with suppress_warnings(
- r'pywikibot\.page\.BasePage\.isEmpty is deprecated[\s\w]+; '
- r'use interwiki\.page_empty_check\(page\) instead\.'):
- self.assertIsInstance(mainpage.isEmpty(), bool)
self.assertIsInstance(mainpage.isDisambig(), bool)
self.assertIsInstance(mainpage.has_permission(), bool)
self.assertIsInstance(mainpage.botMayEdit(), bool)

To view, visit change 610288. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I5f0dc07933397d397e771235ee4519253cea6574
Gerrit-Change-Number: 610288
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <>
Gerrit-Reviewer: Matěj Suchánek <>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged