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

gh-127945: add test_ctypes to free-threading TSAN CI #132727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 1 Lib/test/libregrtest/tsan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
3 changes: 2 additions & 1 deletion 3 Lib/test/test_ctypes/test_as_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")


Expand Down Expand Up @@ -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
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.