bpo-46748: Fix ctypes test_frozentable() (GH-31600)

This commit is contained in:
Kumar Aditya 2022-02-27 04:55:46 +05:30 committed by GitHub
parent e02c47528b
commit e182c660b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ class PythonValuesTestCase(unittest.TestCase):
_fields_ = [("name", c_char_p),
("code", POINTER(c_ubyte)),
("size", c_int),
("is_package", c_bool),
("is_package", c_int),
("get_code", POINTER(c_ubyte)), # Function ptr
]
FrozenTable = POINTER(struct_frozen)