summaryrefslogtreecommitdiff
path: root/Lib/ctypes
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-24 09:15:14 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-24 09:15:14 +0300
commit2e584bb8793b8c50689fa680f4cd7e64ae6bae6a (patch)
tree61d44b19c5d4ea58b763c4e4ddc5044d7f1bc5d5 /Lib/ctypes
parentcc3dedddc21f8b07a7ecfcc4af57bfaee22cb0dd (diff)
downloadcpython-2e584bb8793b8c50689fa680f4cd7e64ae6bae6a.tar.gz
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.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 5a3a47f968..e71b48020f 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")