diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-08 12:51:24 -0700 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-08 12:51:24 -0700 |
commit | 1c4aac5fbe8b35924cb164acb8e4c39dba9451c1 (patch) | |
tree | a950d02fa8c224cce4c3202e1f9219b22d3e13ad /Lib/test/test_ordered_dict.py | |
parent | 0e2adb72f674c91d6fdd4cba7b2c2dcc095462bf (diff) | |
download | cpython-1c4aac5fbe8b35924cb164acb8e4c39dba9451c1.tar.gz |
Add a new private version to the builtin dict type
Issue #26058: Add a new private version to the builtin dict type, incremented
at each dictionary creation and at each dictionary change.
Implementation of the PEP 509.
Diffstat (limited to 'Lib/test/test_ordered_dict.py')
-rw-r--r-- | Lib/test/test_ordered_dict.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ordered_dict.py b/Lib/test/test_ordered_dict.py index 43600e4fc8..d6e72a6ed2 100644 --- a/Lib/test/test_ordered_dict.py +++ b/Lib/test/test_ordered_dict.py @@ -655,7 +655,7 @@ class CPythonOrderedDictTests(OrderedDictTests, unittest.TestCase): size = support.calcobjsize check = self.check_sizeof - basicsize = size('n2P' + '3PnPn2P') + calcsize('2nP2n') + basicsize = size('n2P3PnPn2P') + 8 + calcsize('2nP2n') entrysize = calcsize('n2P') p = calcsize('P') nodesize = calcsize('Pn2P') |