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 97773dbCopy full SHA for 97773db
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,7 +45,14 @@ def test_cross_module_exceptions():
43
45
with pytest.raises(StopIteration) as excinfo:
44
46
cm.throw_stop_iteration()
47
- 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 _:
56
# translator registered in cross_module_tests
57
m.throw_should_be_translated_to_key_error()
58
0 commit comments