]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46748: Fix ctypes test_frozentable() (GH-31600)
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Sat, 26 Feb 2022 23:25:46 +0000 (04:55 +0530)
committerGitHub <noreply@github.com>
Sat, 26 Feb 2022 23:25:46 +0000 (00:25 +0100)
Lib/ctypes/test/test_values.py

index b2db426d10f431d70cd3182afb337eda2c4af720..435fdd22ea2be1c6dc8b9c4e8301ce3d4fabaf9e 100644 (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)