mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
Skip cross module exception translation on FreeBSD (#5925)
* Skip cross module exception translation on FreeBSD Signed-off-by: cyy <cyyever@outlook.com> * Link to PR number Signed-off-by: cyy <cyyever@outlook.com> --------- Signed-off-by: cyy <cyyever@outlook.com>
This commit is contained in:
@@ -8,6 +8,7 @@ ANDROID = sys.platform.startswith("android")
|
||||
LINUX = sys.platform.startswith("linux")
|
||||
MACOS = sys.platform.startswith("darwin")
|
||||
WIN = sys.platform.startswith("win32") or sys.platform.startswith("cygwin")
|
||||
FREEBSD = sys.platform.startswith("freebsd")
|
||||
|
||||
CPYTHON = platform.python_implementation() == "CPython"
|
||||
PYPY = platform.python_implementation() == "PyPy"
|
||||
|
||||
@@ -76,9 +76,9 @@ def test_cross_module_exceptions(msg):
|
||||
|
||||
# TODO: FIXME
|
||||
@pytest.mark.xfail(
|
||||
"(env.MACOS and env.PYPY) or env.ANDROID",
|
||||
"(env.MACOS and env.PYPY) or env.ANDROID or env.FREEBSD",
|
||||
raises=RuntimeError,
|
||||
reason="See Issue #2847, PR #2999, PR #4324",
|
||||
reason="See Issue #2847, PR #2999, PR #4324, PR #5925",
|
||||
strict=not env.PYPY, # PR 5569
|
||||
)
|
||||
def test_cross_module_exception_translator():
|
||||
|
||||
Reference in New Issue
Block a user