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

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/743553
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: I62e613196c852fb64a9722b522afc66138996bc7
Gerrit-Change-Number: 743553
Gerrit-PatchSet: 1
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