]>
git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/test_ctypes.py
2 # Taken from Lib/ctypes/test/test_keeprefs.py, PointerToStructure.test().
3 # When this leak is fixed, remember to remove from Misc/build.sh LEAKY_TESTS.
5 from ctypes
import Structure
, c_int
, POINTER
9 class POINT(Structure
):
10 _fields_
= [("x", c_int
)]
11 class RECT(Structure
):
12 _fields_
= [("a", POINTER(POINT
))]