summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cfgparser.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-11-29 02:02:10 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-11-29 02:02:10 (GMT)
commit263cbdfdfb0a7fe13f04c1b3188968d7a39d7d09 (patch)
tree1fa7e0a7327a502ba0ba4d3c8acbbc185554709d /Lib/test/test_cfgparser.py
parent40b8cf528fdc7896c3677342f6050b4d80377ee4 (diff)
downloadcpython-263cbdfdfb0a7fe13f04c1b3188968d7a39d7d09.zip
cpython-263cbdfdfb0a7fe13f04c1b3188968d7a39d7d09.tar.gz
cpython-263cbdfdfb0a7fe13f04c1b3188968d7a39d7d09.tar.bz2
Use assertCountEqual instead of assertItemsEqual
Diffstat (limited to 'Lib/test/test_cfgparser.py')
-rw-r--r--Lib/test/test_cfgparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cfgparser.py b/Lib/test/test_cfgparser.py
index fc8b2ad..38dd34b 100644
--- a/Lib/test/test_cfgparser.py
+++ b/Lib/test/test_cfgparser.py
@@ -357,7 +357,7 @@ boolean {0[0]} NO
L = [section for section in cf]
L.sort()
eq = self.assertEqual
- elem_eq = self.assertItemsEqual
+ elem_eq = self.assertCountEqual
eq(L, sorted(["A", "B", self.default_section, "a"]))
eq(cf["a"].keys(), {"b"})
eq(cf["a"]["b"], "value",