jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1041867?usp=email )
Change subject: [tests] set maxDiff to None in TestProtectionBot.test_summary() ......................................................................
[tests] set maxDiff to None in TestProtectionBot.test_summary()
This does not solve the problem but shows the difference.
Bug: T367259 Change-Id: Ie6f61bd5134406c43a8d7e123e59d927d62e44f6 --- M tests/protectbot_tests.py 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/protectbot_tests.py b/tests/protectbot_tests.py index ebf16ca..c8339c7 100755 --- a/tests/protectbot_tests.py +++ b/tests/protectbot_tests.py @@ -52,6 +52,8 @@ rev[1].comment, 'Removed protection from "[[User:Sn1per/ProtectTest2]]": Bot: ' 'Unprotecting all pages from category Pywikibot Protect Test') + + self.maxDiff = None self.assertEqual( rev[0].comment, 'Protected "[[User:Sn1per/ProtectTest2]]": Bot: '