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

Change subject: [skip actions] Use assertIsEmpty method with 
deletionbot_tests.py
......................................................................

[skip actions] Use assertIsEmpty method with deletionbot_tests.py

Bug: T303094
Change-Id: Id7d448fd2298a30fcce36e65882d600eae96d6ca
---
M tests/deletionbot_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/tests/deletionbot_tests.py b/tests/deletionbot_tests.py
index d871c89..602507c 100644
--- a/tests/deletionbot_tests.py
+++ b/tests/deletionbot_tests.py
@@ -30,7 +30,7 @@
         site = self.get_site()
         cat = pywikibot.Category(site, 'Pywikibot Delete Test')
         delete.main('-cat:Pywikibot_Delete_Test', '-always')
-        self.assertEmpty(list(cat.members()))
+        self.assertIsEmpty(list(cat.members()))
         delete.main('-page:User:Unicodesnowman/DeleteTest1', '-always',
                     '-undelete', '-summary=pywikibot unit tests')
         delete.main('-page:User:Unicodesnowman/DeleteTest2', '-always',

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/768189
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: Id7d448fd2298a30fcce36e65882d600eae96d6ca
Gerrit-Change-Number: 768189
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to