summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/server.rst
diff options
context:
space:
mode:
authorAlfredo Moralejo <amoralej@redhat.com>2020-06-01 16:39:15 +0200
committerDirk Mueller <dirk@dmllr.de>2020-06-11 09:48:05 +0000
commit684cdc5be0c7d57fe6e2c2188a39085204f4756a (patch)
tree44df54b12d78c5d43ccdad1bc37bb7ace9ba379a /doc/source/cli/command-objects/server.rst
parent19723aee18e2901e9250dd840a61359704baa170 (diff)
downloadpython-openstackclient-684cdc5be0c7d57fe6e2c2188a39085204f4756a.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: I1ad0da8deda3a8cbec384b5a9c88860a526eb48c (cherry picked from commit a15b1addb41147415716417f385f8ee32aace64b)
Diffstat (limited to 'doc/source/cli/command-objects/server.rst')
0 files changed, 0 insertions, 0 deletions