7a55d689e0
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] - https://github.com/testing-cabal/testtools/issues/286 [4] - https://github.com/testing-cabal/testtools/pull/277 Signed-off-by: Takashi Natsume <takanattie@gmail.com> Change-Id: I485b6f1c44185eaf327aadb044d6d2b1dce40eb2 |
||
---|---|---|
.. | ||
files | ||
__init__.py | ||
common.py | ||
test_build_lower_constraints.py | ||
test_check_constraints.py | ||
test_check.py | ||
test_constraints.py | ||
test_edit_constraint.py | ||
test_generate.py | ||
test_project.py | ||
test_requirement.py | ||
test_update_pbr.py | ||
test_update_suffix.py | ||
test_update.py |