jenkins-bot submitted this change.
[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/page_tests.py
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/tests/page_tests.py b/tests/page_tests.py
index 8a3ccbb..b20b4e5 100644
--- a/tests/page_tests.py
+++ b/tests/page_tests.py
@@ -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.