From: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Date: Sat, 26 Feb 2022 23:25:46 +0000 (+0530) Subject: bpo-46748: Fix ctypes test_frozentable() (GH-31600) X-Git-Tag: v3.11.0a6~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e182c660b63bc23420fb9f0593d77a3fa3b7f1c7;p=thirdparty%2FPython%2Fcpython.git bpo-46748: Fix ctypes test_frozentable() (GH-31600) --- diff --git a/Lib/ctypes/test/test_values.py b/Lib/ctypes/test/test_values.py index b2db426d10f4..435fdd22ea2b 100644 --- a/Lib/ctypes/test/test_values.py +++ b/Lib/ctypes/test/test_values.py @@ -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)