summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_collections.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_collections.py')
-rw-r--r--Lib/test/test_collections.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_collections.py b/Lib/test/test_collections.py
index 51e93e4..f3f8b03 100644
--- a/Lib/test/test_collections.py
+++ b/Lib/test/test_collections.py
@@ -701,9 +701,9 @@ class TestCounter(unittest.TestCase):
]):
msg = (i, dup, words)
self.assertTrue(dup is not words)
- self.assertEquals(dup, words)
- self.assertEquals(len(dup), len(words))
- self.assertEquals(type(dup), type(words))
+ self.assertEqual(dup, words)
+ self.assertEqual(len(dup), len(words))
+ self.assertEqual(type(dup), type(words))
def test_conversions(self):
# Convert to: set, list, dict
@@ -922,10 +922,10 @@ class TestOrderedDict(unittest.TestCase):
OrderedDict(od),
]):
self.assertTrue(dup is not od)
- self.assertEquals(dup, od)
- self.assertEquals(list(dup.items()), list(od.items()))
- self.assertEquals(len(dup), len(od))
- self.assertEquals(type(dup), type(od))
+ self.assertEqual(dup, od)
+ self.assertEqual(list(dup.items()), list(od.items()))
+ self.assertEqual(len(dup), len(od))
+ self.assertEqual(type(dup), type(od))
def test_yaml_linkage(self):
# Verify that __reduce__ is setup in a way that supports PyYAML's dump() feature.