From 97022f83ce788b4e14dd22edfb667030e0dc4f72 Mon Sep 17 00:00:00 2001 From: Matti Picus Date: Fri, 21 Mar 2025 07:41:33 +0200 Subject: [PATCH] TEST: test passes on PyPy macOS (#5569) * test passes on PyPy macOS * revert, set strict=False instead * Tweak condition for strict Co-authored-by: Henry Schreiner --------- Co-authored-by: Henry Schreiner --- tests/test_exceptions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_exceptions.py b/tests/test_exceptions.py index 47214a702..921540194 100644 --- a/tests/test_exceptions.py +++ b/tests/test_exceptions.py @@ -79,6 +79,7 @@ def test_cross_module_exceptions(msg): "env.MACOS and env.PYPY", raises=RuntimeError, reason="See Issue #2847, PR #2999, PR #4324", + strict=not env.PYPY, # PR 5569 ) def test_cross_module_exception_translator(): with pytest.raises(KeyError):