diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2015-06-02 05:35:13 (GMT) |
---|---|---|
committer | Eric Snow <ericsnowcurrently@gmail.com> | 2015-06-02 05:35:13 (GMT) |
commit | b952ab43f281bafd8d4fce4e84b41e655a3e7c23 (patch) | |
tree | 89cb0f122e8820d48835d9787487d59dae1932d9 /Lib/test/test_collections.py | |
parent | d1719756098b282ad703b899ebcb57eeeb0167c2 (diff) | |
download | cpython-b952ab43f281bafd8d4fce4e84b41e655a3e7c23.zip cpython-b952ab43f281bafd8d4fce4e84b41e655a3e7c23.tar.gz cpython-b952ab43f281bafd8d4fce4e84b41e655a3e7c23.tar.bz2 |
Issue #24359: Check for changed OrderedDict size during iteration.
Diffstat (limited to 'Lib/test/test_collections.py')
-rw-r--r-- | Lib/test/test_collections.py | 4 |
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) |