gh-127945: add `test_ctypes` to free-threading TSAN CI (#132727) · python/cpython@8516343

@@ -5,7 +5,7 @@

55

c_short, c_int, c_long, c_longlong,

66

c_byte, c_wchar, c_float, c_double,

77

ArgumentError)

8-

from test.support import import_helper

8+

from test.support import import_helper, skip_if_sanitizer

99

_ctypes_test = import_helper.import_module("_ctypes_test")

10101111

@@ -192,6 +192,7 @@ class S8I(Structure):

192192

self.assertEqual((s8i.a, s8i.b, s8i.c, s8i.d, s8i.e, s8i.f, s8i.g, s8i.h),

193193

(9*2, 8*3, 7*4, 6*5, 5*6, 4*7, 3*8, 2*9))

194194195+

@skip_if_sanitizer('requires deep stack', thread=True)

195196

def test_recursive_as_param(self):

196197

class A:

197198

pass