assertDictContainsSubset is deprecated since Python3.2

Bug #1987013 reported by Wenping Song
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
masakari
In Progress
Undecided
Wenping Song

Bug Description

unittest.TestCase.assertDictContainsSubset is deprecated since Python 3.2[1] and shows the following warning.

~~~
/usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning: assertDictContainsSubset is deprecated
  warnings.warn('assertDictContainsSubset is deprecated',
~~~

[1] https://docs.python.org/3/whatsnew/3.2.html#unittest

Wenping Song (wenping1)
Changed in masakari:
assignee: nobody → Wenping Song (wenping1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to masakari (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/masakari/+/853736

Changed in masakari:
status: New → In Progress
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.