cpython: fbe74badb0c6 (original) (raw)
Mercurial > cpython
changeset 96401:fbe74badb0c6
Issue #16991: Ensure that the proper OrderedDict is used in tests. [#16991]
Eric Snow ericsnowcurrently@gmail.com | |
---|---|
date | Sat, 30 May 2015 13:24:54 -0600 |
parents | 39acefd27d8d |
children | cf8f8d07a4fd |
files | Lib/test/test_collections.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-)[+] [-] Lib/test/test_collections.py 1 |
line wrap: on
line diff
--- a/Lib/test/test_collections.py +++ b/Lib/test/test_collections.py @@ -1979,6 +1979,7 @@ class OrderedDictTests: self.assertGreater(sys.getsizeof(od), sys.getsizeof(d)) def test_views(self):
OrderedDict = self.module.OrderedDict[](#l1.7) # See http://bugs.python.org/issue24286[](#l1.8) s = 'the quick brown fox jumped over a lazy dog yesterday before dawn'.split()[](#l1.9) od = OrderedDict.fromkeys(s)[](#l1.10)