Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Test test_cross_module_exception_translator fails #3537

Open
2 of 3 tasks
yurivict opened this issue Dec 7, 2021 · 1 comment
Open
2 of 3 tasks

[BUG]: Test test_cross_module_exception_translator fails #3537

yurivict opened this issue Dec 7, 2021 · 1 comment
Labels
triage New bug, unverified

Comments

@yurivict
Copy link

yurivict commented Dec 7, 2021

Required prerequisites

Problem description

_________________________________________________________________________ test_cross_module_exception_translator ___________________________________________________________________________

    @pytest.mark.xfail(
        "env.PYPY and env.MACOS",
        raises=RuntimeError,
        reason="Expected failure with PyPy and libc++ (Issue #2847 & PR #2999)",
    )
    def test_cross_module_exception_translator():
        with pytest.raises(KeyError):
            # translator registered in cross_module_tests
>           m.throw_should_be_translated_to_key_error()
E           RuntimeError

../../pybind11-2.8.1/tests/test_exceptions.py:82: RuntimeError
================================================================================== short test summary info ==================================================================================

Tests run from the port's 'test' target.

Version: 2.8.1
OS: FreeBSD 13

Reproducible example code

No response

@yurivict yurivict added the triage New bug, unverified label Dec 7, 2021
@yurivict
Copy link
Author

It still fails in 2.10.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage New bug, unverified
Projects
None yet
Development

No branches or pull requests

1 participant