assertEquals is deprecated

Bug #1224232 reported by Zhongyue Luo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Zhongyue Luo

Bug Description

The method assertEquals has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases

Also in Python 3, a deprecated warning is raised when using assertEquals
therefore we should use assertEqual instead.

Zhongyue Luo (zyluo)
Changed in nova:
assignee: nobody → Zhongyue Luo (zyluo)
Changed in nova:
status: New → In Progress
Revision history for this message
Zhongyue Luo (zyluo) wrote :
Revision history for this message
Guangya Liu (Jay Lau) (jay-lau-513) wrote :

Just FYI, a blueprint https://blueprints.launchpad.net/nova/+spec/assertequal was also logged for this change.

Revision history for this message
Matt Riedemann (mriedem) wrote :

According to the related blueprint this was all completed in Icehouse:

https://blueprints.launchpad.net/nova/+spec/assertequal

Changed in nova:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.