summaryrefslogtreecommitdiff
path: root/openstackclient/api/api.py
diff options
context:
space:
mode:
authorDirk Mueller <dirk@dmllr.de>2021-05-03 22:07:39 +0200
committerDirk Mueller <dirk@dmllr.de>2021-05-03 22:07:39 +0200
commite82a05864f482acc485d1bd35a4db23452f8b2ac (patch)
tree71b2a9285cea892a9f09e9307cf45a48552cf7e5 /openstackclient/api/api.py
parent6bdf030953d449693c97bff8812b7ced981a2015 (diff)
downloadpython-openstackclient-e82a05864f482acc485d1bd35a4db23452f8b2ac.tar.gz
Replace assertItemsEqual with assertCountEqual
assertItemsEqual was removed from Python's unittest.TestCase in Python 3.3 [1][2]. We have been able to use them since then, because testtools required unittest2, which still included it. With testtools removing Python 2.7 support [3][4], we will lose support for assertItemsEqual, so we should switch to use assertCountEqual. [1] - https://bugs.python.org/issue17866 [2] - https://hg.python.org/cpython/rev/d9921cb6e3cd [3] - testing-cabal/testtools#286 [4] - testing-cabal/testtools#277 Change-Id: I0bbffbec8889b8b3067cfe17d258f5cb16624f38
Diffstat (limited to 'openstackclient/api/api.py')
0 files changed, 0 insertions, 0 deletions