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 | 3b6a6b4215950bce2a3b4bfc7d1876ab11e5f591 (patch) | |
| tree | ea9d0eb92290e7565280d82bb1e2f92f5a38fb83 /Lib/test/test_ordered_dict.py | |
| parent | 70897ec54c824bc66ae15678e0dc8da144227582 (diff) | |
| download | cpython-git-3b6a6b4215950bce2a3b4bfc7d1876ab11e5f591.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') |
