jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/640292 )
Change subject: [doc] fix assertLength doc ......................................................................
[doc] fix assertLength doc
Change-Id: I2f859f901f4eb00e6f3b1f0ee9c0c626c59fa73f --- M tests/aspects.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/aspects.py b/tests/aspects.py index 5c25e59..91fef62 100644 --- a/tests/aspects.py +++ b/tests/aspects.py @@ -78,7 +78,7 @@ self.fail(msg)
def assertLength(self, seq, other, msg=None): - """Verify that a sequence expr has the length of other.""" + """Verify that a sequence seq has the length of other.""" # the other parameter may be given as a sequence too self.assertIsInstance( seq, Sized, 'seq argument is not a Sized class containing __len__')
pywikibot-commits@lists.wikimedia.org