summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2022-02-26 23:25:46 (GMT)
committerGitHub <noreply@github.com>2022-02-26 23:25:46 (GMT)
commite182c660b63bc23420fb9f0593d77a3fa3b7f1c7 (patch)
tree8f74b0f65a31bd341f00dd4aa55871d77c8330b6
parente02c47528b31f513d5f5d6eb91b8c9714134cea2 (diff)
downloadcpython-e182c660b63bc23420fb9f0593d77a3fa3b7f1c7.zip
cpython-e182c660b63bc23420fb9f0593d77a3fa3b7f1c7.tar.gz
cpython-e182c660b63bc23420fb9f0593d77a3fa3b7f1c7.tar.bz2
bpo-46748: Fix ctypes test_frozentable() (GH-31600)
-rw-r--r--Lib/ctypes/test/test_values.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/test/test_values.py b/Lib/ctypes/test/test_values.py
index b2db426..435fdd2 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)