Skip to content

Commit

Permalink
exceptions can not be caught inside of JITed code
Browse files Browse the repository at this point in the history
  • Loading branch information
wlav committed Jun 24, 2022
1 parent a2a8508 commit a34f56c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/test_concurrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test04_cpp_threading_with_exceptions(self):
"""Threads and Python exceptions"""

if IS_MAC_ARM:
py.test.skip("JIT exceptions not supported on Mac ARM")
py.test.skip("JIT exceptions can not be caught in JITed code on Mac ARM")

import cppyy

Expand Down Expand Up @@ -256,6 +256,10 @@ def test():
def test07_overload_reuse_in_threads_wo_gil(self):
"""Threads reuse overload objects; check for clashes if no GIL"""

if IS_MAC_ARM:
# the culprit here is occasional std::system_error if a thread can not be joined
py.test.skip("JIT exceptions can not be caught in JITed code on Mac ARM")

import cppyy
import threading

Expand Down

0 comments on commit a34f56c

Please sign in to comment.