Skip to content

Commit 97773db

Browse files
committed
Skip failed test.
1 parent ee1d13a commit 97773db

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tests/test_exceptions.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
import pytest
55

6+
import env # noqa: F401
7+
68
from pybind11_tests import exceptions as m
79
import pybind11_cross_module_tests as cm
810

@@ -43,7 +45,14 @@ def test_cross_module_exceptions():
4345
with pytest.raises(StopIteration) as excinfo:
4446
cm.throw_stop_iteration()
4547

46-
with pytest.raises(KeyError) as excinfo:
48+
49+
# TODO: FIXME
50+
@pytest.mark.skipif(
51+
"env.PYPY and env.MACOS",
52+
reason="Known failure with PyPy and libc++ (Issue #2847 & PR #2999)",
53+
)
54+
def test_cross_module_exception_translator():
55+
with pytest.raises(KeyError) as _:
4756
# translator registered in cross_module_tests
4857
m.throw_should_be_translated_to_key_error()
4958

0 commit comments

Comments
 (0)