jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/952558 )
Change subject: [tests] show current length with TestCase.assertLength method ......................................................................
[tests] show current length with TestCase.assertLength method
Change-Id: Icd4ad1537cee68f1cf97a90dce6b953b0038a56d --- M tests/aspects.py 1 file changed, 10 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/aspects.py b/tests/aspects.py index 4515cb2..baa5414 100644 --- a/tests/aspects.py +++ b/tests/aspects.py @@ -115,7 +115,7 @@
if first_len != second_len: msg = self._formatMessage( - msg, f'len({safe_repr(seq)}) != {second_len}') + msg, f'len({safe_repr(seq)}): {first_len} != {second_len}') self.fail(msg)
def assertPageInNamespaces(self, page, namespaces):