Issue #16991: Ensure that the proper OrderedDict is used in tests.
This commit is contained in:
parent
7a3414c201
commit
e39facfdbc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue