summaryrefslogtreecommitdiffstats
path: root/src/util/util_errors.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-11-10 17:32:27 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2016-01-13 14:40:37 +0100
commit2f9b4cc993a259d408afab2cf0fec85e515424cd (patch)
tree1f86b92fc4f1574e914717d92c04e3c4fef3ef42 /src/util/util_errors.c
parentc42bd764452ecda95b7d8d3ce027c70b4ad5982c (diff)
downloadsssd-2f9b4cc993a259d408afab2cf0fec85e515424cd.tar.gz
sssd-2f9b4cc993a259d408afab2cf0fec85e515424cd.tar.xz
sssd-2f9b4cc993a259d408afab2cf0fec85e515424cd.zip
tests: use unittest.TestCase.assertCountEqual if possible
We used to defined a compat method for assertItemsEqual that existed on Python 2.7, but not on old Python 2.x. As an effect, we used our compat code even if assertCountEqual was available from standard library. The recent Python 3.x versions renamed assertItemsEqual to assertCountEqual. Therefore we should use the modern version which is in the standard library over a compat version provided by ourselves. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> Reviewed-by: Petr Cech <pcech@redhat.com>
Diffstat (limited to 'src/util/util_errors.c')
0 files changed, 0 insertions, 0 deletions