]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/test_ctypes.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / leakers / test_ctypes.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/test_ctypes.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/test_ctypes.py
deleted file mode 100644 (file)
index db37d25..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-\r
-# Taken from Lib/ctypes/test/test_keeprefs.py, PointerToStructure.test().\r
-# When this leak is fixed, remember to remove from Misc/build.sh LEAKY_TESTS.\r
-\r
-from ctypes import Structure, c_int, POINTER\r
-import gc\r
-\r
-def leak_inner():\r
-    class POINT(Structure):\r
-        _fields_ = [("x", c_int)]\r
-    class RECT(Structure):\r
-        _fields_ = [("a", POINTER(POINT))]\r
-\r
-def leak():\r
-    leak_inner()\r
-    gc.collect()\r