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):