mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Issue #16991: Ensure that the proper OrderedDict is used in tests.
This commit is contained in:
parent
7a3414c201
commit
e39facfdbc
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue