Skip to content

Commit b09738c

Browse files
committed
Fix test_ctypes (marshalled code size changed)
1 parent ebaaeca commit b09738c

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__", 128),
84-
("__phello__", -128),
85-
("__phello__.spam", 128),
83+
expected = [("__hello__", 133),
84+
("__phello__", -133),
85+
("__phello__.spam", 133),
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)