From: Eric Snow Date: Sat, 30 May 2015 19:24:54 +0000 (-0600) Subject: Issue #16991: Ensure that the proper OrderedDict is used in tests. X-Git-Tag: v3.6.0a1~2149 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e39facfdbcb156d2a94a7e850ed19a9dc943fdc5;p=python Issue #16991: Ensure that the proper OrderedDict is used in tests. --- diff --git a/Lib/test/test_collections.py b/Lib/test/test_collections.py index 5836cb37ea..e65824f42c 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)