We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1d13a commit a07fc60Copy full SHA for a07fc60
tests/test_exceptions.py
@@ -3,6 +3,8 @@
3
4
import pytest
5
6
+import env # noqa: F401
7
+
8
from pybind11_tests import exceptions as m
9
import pybind11_cross_module_tests as cm
10
@@ -43,6 +45,13 @@ def test_cross_module_exceptions():
43
45
with pytest.raises(StopIteration) as excinfo:
44
46
cm.throw_stop_iteration()
47
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 excinfo:
56
# translator registered in cross_module_tests
57
m.throw_should_be_translated_to_key_error()
0 commit comments