jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/743553 )
Change subject: [tests] remove deprecated TestCase.assertRaisesRegexp method usage ......................................................................
[tests] remove deprecated TestCase.assertRaisesRegexp method usage
assertRaisesRegexp is derpecated since Python 3.2
Change-Id: I62e613196c852fb64a9722b522afc66138996bc7 --- M tests/aspects.py 1 file changed, 0 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/aspects.py b/tests/aspects.py index 98b44cb..3d1ac61 100644 --- a/tests/aspects.py +++ b/tests/aspects.py @@ -1405,7 +1405,6 @@ unittest.case._AssertRaisesContext, TestCase.assertRaises, TestCase.assertRaisesRegex, - TestCase.assertRaisesRegexp, ]
# Require no instead string
pywikibot-commits@lists.wikimedia.org