summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_collections.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-30 14:57:56 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-05-30 14:57:56 (GMT)
commit7aa5341164794efc5367f63636cbe8327ca40393 (patch)
tree72cabf6ebcc9d1319649e7e60043f8624837693f /Lib/test/test_collections.py
parent802d45b6604b82ee636fdd795cc6a7d9e655855d (diff)
downloadcpython-7aa5341164794efc5367f63636cbe8327ca40393.zip
cpython-7aa5341164794efc5367f63636cbe8327ca40393.tar.gz
cpython-7aa5341164794efc5367f63636cbe8327ca40393.tar.bz2
Reverting my previous commit.
Something went horribly wrong when I was doing `hg rebase`.
Diffstat (limited to 'Lib/test/test_collections.py')
-rw-r--r--Lib/test/test_collections.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_collections.py b/Lib/test/test_collections.py
index c6db13e..3bb326a 100644
--- a/Lib/test/test_collections.py
+++ b/Lib/test/test_collections.py
@@ -1965,14 +1965,7 @@ class OrderedDictTests:
od = OrderedDict(**d)
self.assertGreater(sys.getsizeof(od), sys.getsizeof(d))
- def test_views(self):
OrderedDict = self.module.OrderedDict
- # See http://bugs.python.org/issue24286
- s = 'the quick brown fox jumped over a lazy dog yesterday before dawn'.split()
- od = OrderedDict.fromkeys(s)
- self.assertEqual(od.keys(), dict(od).keys())
- self.assertEqual(od.items(), dict(od).items())
-
def test_override_update(self):
OrderedDict = self.module.OrderedDict
# Verify that subclasses can override update() without breaking __init__()