mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Use assertCountEqual instead of assertItemsEqual
This commit is contained in:
parent
40b8cf528f
commit
263cbdfdfb
2 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue