Skip to content

Commit 228f563

Browse files
authored
Skip cross module exception translation on FreeBSD (#5925)
* Skip cross module exception translation on FreeBSD Signed-off-by: cyy <[email protected]> * Link to PR number Signed-off-by: cyy <[email protected]> --------- Signed-off-by: cyy <[email protected]>
1 parent 3ebbecb commit 228f563

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/env.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
LINUX = sys.platform.startswith("linux")
99
MACOS = sys.platform.startswith("darwin")
1010
WIN = sys.platform.startswith("win32") or sys.platform.startswith("cygwin")
11+
FREEBSD = sys.platform.startswith("freebsd")
1112

1213
CPYTHON = platform.python_implementation() == "CPython"
1314
PYPY = platform.python_implementation() == "PyPy"

tests/test_exceptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ def test_cross_module_exceptions(msg):
7676

7777
# TODO: FIXME
7878
@pytest.mark.xfail(
79-
"(env.MACOS and env.PYPY) or env.ANDROID",
79+
"(env.MACOS and env.PYPY) or env.ANDROID or env.FREEBSD",
8080
raises=RuntimeError,
81-
reason="See Issue #2847, PR #2999, PR #4324",
81+
reason="See Issue #2847, PR #2999, PR #4324, PR #5925",
8282
strict=not env.PYPY, # PR 5569
8383
)
8484
def test_cross_module_exception_translator():

0 commit comments

Comments
 (0)