changeset: 96401:fbe74badb0c6 user: Eric Snow date: Sat May 30 13:24:54 2015 -0600 files: Lib/test/test_collections.py description: Issue #16991: Ensure that the proper OrderedDict is used in tests. diff -r 39acefd27d8d -r fbe74badb0c6 Lib/test/test_collections.py --- a/Lib/test/test_collections.py Sat May 30 12:55:22 2015 -0600 +++ b/Lib/test/test_collections.py Sat May 30 13:24:54 2015 -0600 @@ -1979,6 +1979,7 @@ 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)