summaryrefslogtreecommitdiff
path: root/tests/test_backward.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-05-17 14:56:40 -0400
committerNed Batchelder <ned@nedbatchelder.com>2014-05-17 14:56:40 -0400
commit147c3562631c64066a2da964522a66fb369841c4 (patch)
treed346f6567216c2c864aea1a39f637a6ee89110f9 /tests/test_backward.py
parent503cdc25c6e5410e920053e3c4a819e962c4f6e8 (diff)
downloadpython-coveragepy-147c3562631c64066a2da964522a66fb369841c4.tar.gz
Avoid a bunch of deprecated functions.
Diffstat (limited to 'tests/test_backward.py')
-rw-r--r--tests/test_backward.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_backward.py b/tests/test_backward.py
index e98017a..2c688ed 100644
--- a/tests/test_backward.py
+++ b/tests/test_backward.py
@@ -12,7 +12,7 @@ class BackwardTest(TestCase):
def test_iitems(self):
d = {'a': 1, 'b': 2, 'c': 3}
items = [('a', 1), ('b', 2), ('c', 3)]
- self.assertSameElements(list(iitems(d)), items)
+ self.assertCountEqual(list(iitems(d)), items)
def test_binary_bytes(self):
byte_values = [0, 255, 17, 23, 42, 57]