diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2021-05-27 15:54:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 15:54:34 (GMT) |
commit | 9f494d492944c3a6a7a7471b4ad3a025dc7de289 (patch) | |
tree | 8cca83ea93a0bf38de318278a73155dfe4cbf4f7 /Lib/ctypes/test | |
parent | 318adeba780851c416505e48a3454cacca831419 (diff) | |
download | cpython-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.py | 6 |
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") |