Skip to content

Commit fa5d83e

Browse files
Fix test_ctypes.
1 parent c310d7c commit fa5d83e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/ctypes/test/test_values.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ class struct_frozen(Structure):
8080
continue
8181
items.append((entry.name.decode("ascii"), entry.size))
8282

83-
expected = [("__hello__", 142),
84-
("__phello__", -142),
85-
("__phello__.spam", 142),
83+
expected = [("__hello__", 138),
84+
("__phello__", -138),
85+
("__phello__.spam", 138),
8686
]
8787
self.assertEqual(items, expected, "PyImport_FrozenModules example "
8888
"in Doc/library/ctypes.rst may be out of date")

0 commit comments

Comments
 (0)