summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2015-06-02 05:35:13 (GMT)
committerEric Snow <ericsnowcurrently@gmail.com>2015-06-02 05:35:13 (GMT)
commitb952ab43f281bafd8d4fce4e84b41e655a3e7c23 (patch)
tree89cb0f122e8820d48835d9787487d59dae1932d9 /Lib
parentd1719756098b282ad703b899ebcb57eeeb0167c2 (diff)
downloadcpython-b952ab43f281bafd8d4fce4e84b41e655a3e7c23.zip
cpython-b952ab43f281bafd8d4fce4e84b41e655a3e7c23.tar.gz
cpython-b952ab43f281bafd8d4fce4e84b41e655a3e7c23.tar.bz2
Issue #24359: Check for changed OrderedDict size during iteration.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_collections.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_collections.py b/Lib/test/test_collections.py
index 097aa9a..7a1ff14 100644
--- a/Lib/test/test_collections.py
+++ b/Lib/test/test_collections.py
@@ -1746,10 +1746,6 @@ class OrderedDictTests:
self.assertEqual(list(reversed(od.items())), list(reversed(pairs)))
def test_detect_deletion_during_iteration(self):
- # XXX This test should also work under cOrderedDict.
- if self.module is c_coll:
- raise unittest.SkipTest("only valid for pure Python OrderedDict")
-
OrderedDict = self.module.OrderedDict
od = OrderedDict.fromkeys('abc')
it = iter(od)