Skip to content

Commit 541fa9b

Browse files
committed
ci: goldilocks zone of chaos
1 parent 0b1b1e0 commit 541fa9b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cuda_core/tests/test_event.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ def test_event_init_disabled():
2828
cuda.core.experimental._event.Event() # Ensure back door is locked.
2929

3030

31+
def test_intentional_segfault():
32+
import ctypes
33+
34+
ctypes.pythonapi.Py_IncRef(1)
35+
36+
3137
def test_timing_success(init_cuda):
3238
options = EventOptions(enable_timing=True)
3339
stream = Device().create_stream()

0 commit comments

Comments
 (0)