summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes/test
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2021-05-27 15:54:34 (GMT)
committerGitHub <noreply@github.com>2021-05-27 15:54:34 (GMT)
commit9f494d492944c3a6a7a7471b4ad3a025dc7de289 (patch)
tree8cca83ea93a0bf38de318278a73155dfe4cbf4f7 /Lib/ctypes/test
parent318adeba780851c416505e48a3454cacca831419 (diff)
downloadcpython-9f494d492944c3a6a7a7471b4ad3a025dc7de289.zip
cpython-9f494d492944c3a6a7a7471b4ad3a025dc7de289.tar.gz
cpython-9f494d492944c3a6a7a7471b4ad3a025dc7de289.tar.bz2
bpo-43693: Add _PyCode_New(). (gh-26375)
This is an internal-only API that helps us manage the many values used to create a code object. https://bugs.python.org/issue43693
Diffstat (limited to 'Lib/ctypes/test')
-rw-r--r--Lib/ctypes/test/test_values.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/ctypes/test/test_values.py b/Lib/ctypes/test/test_values.py
index 80f4ed0..92c3c28 100644
--- a/Lib/ctypes/test/test_values.py
+++ b/Lib/ctypes/test/test_values.py
@@ -80,9 +80,9 @@ class PythonValuesTestCase(unittest.TestCase):
continue
items.append((entry.name.decode("ascii"), entry.size))
- expected = [("__hello__", 142),
- ("__phello__", -142),
- ("__phello__.spam", 142),
+ expected = [("__hello__", 138),
+ ("__phello__", -138),
+ ("__phello__.spam", 138),
]
self.assertEqual(items, expected, "PyImport_FrozenModules example "
"in Doc/library/ctypes.rst may be out of date")