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",