Skip to content

Commit 1569415

Browse files
committed
test_cross_module_exception_translator xfail 'Homebrew Clang'
1 parent b8b0d71 commit 1569415

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_exceptions.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import env
66
import pybind11_cross_module_tests as cm
7+
import pybind11_tests # noqa: F401
78
from pybind11_tests import exceptions as m
89

910

@@ -72,9 +73,9 @@ def test_cross_module_exceptions(msg):
7273

7374
# TODO: FIXME
7475
@pytest.mark.xfail(
75-
"env.PYPY and env.MACOS",
76+
"env.MACOS and (env.PYPY or pybind11_tests.compiler_info.startswith('Homebrew Clang'))",
7677
raises=RuntimeError,
77-
reason="Expected failure with PyPy and libc++ (Issue #2847 & PR #2999)",
78+
reason="See Issue #2847, PR #2999, PR #4324",
7879
)
7980
def test_cross_module_exception_translator():
8081
with pytest.raises(KeyError):

0 commit comments

Comments
 (0)