Kaydet (Commit) e39facfd authored tarafından Eric Snow's avatar Eric Snow

Issue #16991: Ensure that the proper OrderedDict is used in tests.

üst 7a3414c2
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment