diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-24 06:15:14 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-24 06:15:14 (GMT) |
commit | b0f80b0312a99ca46323efc0e4d09b567553ed46 (patch) | |
tree | 323c414ce867d58fe60e127b4275e9931855a72f /Lib/ctypes | |
parent | c35f491a06bb55cba097ddcd9fcbc9452ec21fb1 (diff) | |
download | cpython-b0f80b0312a99ca46323efc0e4d09b567553ed46.zip cpython-b0f80b0312a99ca46323efc0e4d09b567553ed46.tar.gz cpython-b0f80b0312a99ca46323efc0e4d09b567553ed46.tar.bz2 |
Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.
Patch by Demur Rumed.
Diffstat (limited to 'Lib/ctypes')
-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 5a3a47f..e71b480 100644 --- a/Lib/ctypes/test/test_values.py +++ b/Lib/ctypes/test/test_values.py @@ -79,9 +79,9 @@ class PythonValuesTestCase(unittest.TestCase): continue items.append((entry.name.decode("ascii"), entry.size)) - expected = [("__hello__", 161), - ("__phello__", -161), - ("__phello__.spam", 161), + expected = [("__hello__", 139), + ("__phello__", -139), + ("__phello__.spam", 139), ] self.assertEqual(items, expected, "PyImport_FrozenModules example " "in Doc/library/ctypes.rst may be out of date") |