Skip to content

Commit 61d2ed7

Browse files
committed
Fix test_ctypes (marshalled code objects became longer again)
1 parent 715e2b8 commit 61d2ed7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/ctypes/test/test_values.py

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