yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87090
[Bug 1938103] Re: assertDictContainsSubset is deprecated since Python3.2
Reviewed: https://review.opendev.org/c/openstack/neutron/+/807459
Committed: https://opendev.org/openstack/neutron/commit/34acbd6ff8573e5e2ce149150bae566f987f0ded
Submitter: "Zuul (22348)"
Branch: master
commit 34acbd6ff8573e5e2ce149150bae566f987f0ded
Author: Takashi Kajinami <tkajinam@xxxxxxxxxx>
Date: Sun Sep 5 01:00:29 2021 +0900
Replace deprecated assertDictContainsSubset
The method is deprecated since Python 3.2[1] and shows the following
DeprecationWarning.
/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
Closes-Bug: #1938103
Change-Id: Iab60f52ffbfb3668e9509ce86e105917c616b8a9
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1938103
Title:
assertDictContainsSubset is deprecated since Python3.2
Status in Designate:
In Progress
Status in Glance:
In Progress
Status in OpenStack Identity (keystone):
In Progress
Status in Mistral:
In Progress
Status in neutron:
Fix Released
Status in python-neutronclient:
In Progress
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/designate/+bug/1938103/+subscriptions
References