summaryrefslogtreecommitdiff
path: root/Lib/ctypes/test/test_values.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-12-16 19:00:55 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2016-12-16 19:00:55 +0200
commit3bb38e2e61977ff815de6c33a516d2bd98fcbfd9 (patch)
tree56d1cf2051a44ffba627fd719bc25431bc43b41e /Lib/ctypes/test/test_values.py
parent47e124a68b8201284c0b01ff9d1c08abf0059a27 (diff)
parent5188d1bcdb133ee8f36a7d2efc14562ce91c8ff7 (diff)
downloadcpython-3bb38e2e61977ff815de6c33a516d2bd98fcbfd9.tar.gz
Issue #14061: Misc fixes and cleanups in archiving code in shutil.
Imporoved the documentation and tests for make_archive() and unpack_archive(). Improved error handling when corresponding compress module is not available. Brake circular dependency between shutil and tarfile modules.
Diffstat (limited to 'Lib/ctypes/test/test_values.py')
-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")