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 4fda9b1Copy full SHA for 4fda9b1
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,10 @@ 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("env.PYPY and env.MACOS", reason="Known failure with PyPy and libc++ (Issue #2847 & PR #2999)")
51
+def test_cross_module_exception_translator():
52
with pytest.raises(KeyError) as excinfo:
53
# translator registered in cross_module_tests
54
m.throw_should_be_translated_to_key_error()
0 commit comments