Skip to content

Commit 5f93b1a

Browse files
committed
Fix coredump tests on free-threaded builds
1 parent a2fb804 commit 5f93b1a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎cuda_bindings_13/tests/test_cuda.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@ def get_graph_mem_attr(attr):
524524
or not supportsCudaAPI("coredump_get_attribute_global"),
525525
reason="Coredump API not present",
526526
)
527+
@pytest.mark.thread_unsafe(reason="coredump settings are process-global")
527528
def test_cuda_coredump_attr():
528529
attr_list = [None] * 6
529530

@@ -549,6 +550,7 @@ def test_cuda_coredump_attr():
549550
assert attr_list[3] is True
550551

551552

553+
@pytest.mark.thread_unsafe(reason="coredump settings are process-global")
552554
@pytest.mark.agent_authored(model="gpt-5.6-sol")
553555
def test_coredump_bool_uses_single_byte_storage():
554556
# Round-trip a bool-valued setting in both directions; a getter that read
@@ -639,6 +641,7 @@ def test_ffi_coverage_new_mem_range_attributes():
639641
driver.mem_free_v2(ptr)
640642

641643

644+
@pytest.mark.thread_unsafe(reason="coredump settings are process-global")
642645
@pytest.mark.agent_authored(model="claude-sonnet-4-6")
643646
def test_ffi_coverage_coredump_generation_flags():
644647
"""CoredumpSettings.GENERATION_FLAGS is an unsigned int bitmask."""

0 commit comments

Comments
 (0)