diff options
author | Petr Viktorin <encukou@gmail.com> | 2021-10-21 09:46:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-21 09:46:20 (GMT) |
commit | 8a310dd5f4242b5d28013c1905c6573477e3b957 (patch) | |
tree | 9d028d11dbdf09621435c9b62d13d24d480823e5 /Lib/test/test_sys.py | |
parent | 2cbf50e8126905b57ba9d0d5aa4e238c817d5a03 (diff) | |
download | cpython-8a310dd5f4242b5d28013c1905c6573477e3b957.zip cpython-8a310dd5f4242b5d28013c1905c6573477e3b957.tar.gz cpython-8a310dd5f4242b5d28013c1905c6573477e3b957.tar.bz2 |
bpo-45315: PyType_FromSpec: Copy spec->name and have the type own the memory for its name (GH-29103)
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r-- | Lib/test/test_sys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 2ce40fc..2182898 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -1419,7 +1419,7 @@ class SizeofTest(unittest.TestCase): '3P' # PyMappingMethods '10P' # PySequenceMethods '2P' # PyBufferProcs - '5P') + '6P') class newstyleclass(object): pass # Separate block for PyDictKeysObject with 8 keys and 5 entries check(newstyleclass, s + calcsize(DICT_KEY_STRUCT_FORMAT) + 32 + 21*calcsize("n2P")) |