From e39facfdbcb156d2a94a7e850ed19a9dc943fdc5 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Sat, 30 May 2015 13:24:54 -0600 Subject: [PATCH] Issue #16991: Ensure that the proper OrderedDict is used in tests. --- Lib/test/test_collections.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_collections.py b/Lib/test/test_collections.py index 5836cb37ea02..e65824f42cb1 100644 --- 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 # See http://bugs.python.org/issue24286 s = 'the quick brown fox jumped over a lazy dog yesterday before dawn'.split() od = OrderedDict.fromkeys(s) -- 2.47.3