Replace deprecated .assertRaisesRegexp()

Bug #1716109 reported by zhangyangyang on 2017-09-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Astara
Undecided
zhangyangyang
OpenStack Object Storage (swift)
Undecided
zhangyangyang
Solar
Undecided
zhangyangyang
Swift Authentication
Undecided
zhangyangyang
WSME
Undecided
zhangyangyang
oslo.config
Low
zhangyangyang
surveil
Undecided
zhangyangyang

Bug Description

This replaces the deprecated (in python 3.2) unittest.TestCase method assertRaisesRegexp() with assertRaisesRegex().

Changed in oslo.config:
status: New → In Progress
assignee: nobody → zhangyangyang (zhangyangyang)
Changed in swift:
status: New → In Progress
assignee: nobody → zhangyangyang (zhangyangyang)
Changed in solar:
status: New → In Progress
assignee: nobody → zhangyangyang (zhangyangyang)
Changed in astara:
status: New → In Progress
assignee: nobody → zhangyangyang (zhangyangyang)
Changed in surveil:
status: New → In Progress
assignee: nobody → zhangyangyang (zhangyangyang)
Changed in wsme:
status: New → In Progress
assignee: nobody → zhangyangyang (zhangyangyang)
Changed in swauth:
status: New → In Progress
assignee: nobody → zhangyangyang (zhangyangyang)

Change abandoned by zhangyangyang (<email address hidden>) on branch: master
Review: https://review.openstack.org/502243

Change abandoned by zhangyangyang (<email address hidden>) on branch: master
Review: https://review.openstack.org/502253

Change abandoned by zhangyangyang (<email address hidden>) on branch: master
Review: https://review.openstack.org/502254

Change abandoned by zhangyangyang (<email address hidden>) on branch: master
Review: https://review.openstack.org/502282

Change abandoned by zhangyangyang (<email address hidden>) on branch: master
Review: https://review.openstack.org/502283

Change abandoned by zhangyangyang (<email address hidden>) on branch: master
Review: https://review.openstack.org/502286

Tim Burke (1-tim-z) wrote :

Since the new method was added in Python 3.1 and Swift only supports Python 2.7, marking invalid.

Changed in swift:
status: In Progress → Invalid

Change abandoned by zhangyangyang (<email address hidden>) on branch: master
Review: https://review.openstack.org/502240

Changed in oslo.config:
status: In Progress → Triaged
importance: Undecided → Low
Ben Nemec (bnemec) on 2018-10-02
Changed in oslo.config:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers