summaryrefslogtreecommitdiff
path: root/Lib/ctypes/test/test_stringptr.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/ctypes/test/test_stringptr.py')
-rw-r--r--Lib/ctypes/test/test_stringptr.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/ctypes/test/test_stringptr.py b/Lib/ctypes/test/test_stringptr.py
index 3d25fa5360..95cd1614c6 100644
--- a/Lib/ctypes/test/test_stringptr.py
+++ b/Lib/ctypes/test/test_stringptr.py
@@ -1,4 +1,5 @@
import unittest
+from test import support
from ctypes import *
import _ctypes_test
@@ -7,6 +8,7 @@ lib = CDLL(_ctypes_test.__file__)
class StringPtrTestCase(unittest.TestCase):
+ @support.refcount_test
def test__POINTER_c_char(self):
class X(Structure):
_fields_ = [("str", POINTER(c_char))]