Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8516343

Browse filesBrowse files
gh-127945: add test_ctypes to free-threading TSAN CI (#132727)
1 parent 4f7f72c commit 8516343
Copy full SHA for 8516343

File tree

Expand file treeCollapse file tree

2 files changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-1
lines changed

‎Lib/test/libregrtest/tsan.py

Copy file name to clipboardExpand all lines: Lib/test/libregrtest/tsan.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
'test_capi.test_mem',
88
'test_capi.test_pyatomic',
99
'test_code',
10+
'test_ctypes',
1011
# 'test_concurrent_futures', # gh-130605: too many data races
1112
'test_enum',
1213
'test_functools',

‎Lib/test/test_ctypes/test_as_parameter.py

Copy file name to clipboardExpand all lines: Lib/test/test_ctypes/test_as_parameter.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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")
1010

1111

@@ -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))
194194

195+
@skip_if_sanitizer('requires deep stack', thread=True)
195196
def test_recursive_as_param(self):
196197
class A:
197198
pass

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.