We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71d5531 commit 0a7588bCopy full SHA for 0a7588b
collections.chainmap/test_chainmap.py
@@ -6,6 +6,9 @@
6
assert cm["k2"] == "v2"
7
assert cm["k3"] == "v3"
8
9
+items = sorted(list(cm.items()))
10
+assert items == [('k1', 'v11'), ('k2', 'v2'), ('k3', 'v3')]
11
+
12
del cm["k1"]
13
assert cm["k1"] == "v12"
14
cm["k1"] = "newv"
0 commit comments