summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes
diff options
context:
space:
mode:
authorNeil Schemenauer <nas-github@arctrix.com>2021-02-19 00:49:12 (GMT)
committerGitHub <noreply@github.com>2021-02-19 00:49:12 (GMT)
commitffa55d21b4a86ad8b4a43a9f597151e526541130 (patch)
tree788adcfdf91d11c30cf92ae15e112b864819a734 /Lib/ctypes
parent743932d50815edbe4ffd530ae091c53ae47dd34b (diff)
downloadcpython-ffa55d21b4a86ad8b4a43a9f597151e526541130.zip
cpython-ffa55d21b4a86ad8b4a43a9f597151e526541130.tar.gz
cpython-ffa55d21b4a86ad8b4a43a9f597151e526541130.tar.bz2
bpo-39448: Add regen-frozen makefile target. (GH-18174)
Add the "regen-frozen" makefile target that regenerates the code for the frozen __hello__ module.
Diffstat (limited to 'Lib/ctypes')
-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 87eb919..4412829 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__", 141),
- ("__phello__", -141),
- ("__phello__.spam", 141),
+ expected = [("__hello__", 125),
+ ("__phello__", -125),
+ ("__phello__.spam", 125),
]
self.assertEqual(items, expected, "PyImport_FrozenModules example "
"in Doc/library/ctypes.rst may be out of date")