diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-11-29 02:02:10 (GMT) |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-11-29 02:02:10 (GMT) |
| commit | 263cbdfdfb0a7fe13f04c1b3188968d7a39d7d09 (patch) | |
| tree | 1fa7e0a7327a502ba0ba4d3c8acbbc185554709d /Lib/test/test_cfgparser.py | |
| parent | 40b8cf528fdc7896c3677342f6050b4d80377ee4 (diff) | |
| download | cpython-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.py | 2 |
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", |
