commit | 263cbdfdfb0a7fe13f04c1b3188968d7a39d7d09 | [log] [tgz] |
---|---|---|
author | Ezio Melotti <ezio.melotti@gmail.com> | Mon Nov 29 02:02:10 2010 +0000 |
committer | Ezio Melotti <ezio.melotti@gmail.com> | Mon Nov 29 02:02:10 2010 +0000 |
tree | 1fa7e0a7327a502ba0ba4d3c8acbbc185554709d | |
parent | 40b8cf528fdc7896c3677342f6050b4d80377ee4 [diff] [blame] |
Use assertCountEqual instead of assertItemsEqual
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 @@ 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",