mirror of
https://github.com/python/cpython.git
synced 2026-01-03 14:02:21 +00:00
gh-127945: add test_ctypes to free-threading TSAN CI (#132727)
This commit is contained in:
parent
4f7f72ce34
commit
8516343d3a
2 changed files with 3 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
'test_capi.test_mem',
|
||||
'test_capi.test_pyatomic',
|
||||
'test_code',
|
||||
'test_ctypes',
|
||||
# 'test_concurrent_futures', # gh-130605: too many data races
|
||||
'test_enum',
|
||||
'test_functools',
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
c_short, c_int, c_long, c_longlong,
|
||||
c_byte, c_wchar, c_float, c_double,
|
||||
ArgumentError)
|
||||
from test.support import import_helper
|
||||
from test.support import import_helper, skip_if_sanitizer
|
||||
_ctypes_test = import_helper.import_module("_ctypes_test")
|
||||
|
||||
|
||||
|
|
@ -192,6 +192,7 @@ class S8I(Structure):
|
|||
self.assertEqual((s8i.a, s8i.b, s8i.c, s8i.d, s8i.e, s8i.f, s8i.g, s8i.h),
|
||||
(9*2, 8*3, 7*4, 6*5, 5*6, 4*7, 3*8, 2*9))
|
||||
|
||||
@skip_if_sanitizer('requires deep stack', thread=True)
|
||||
def test_recursive_as_param(self):
|
||||
class A:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue