Skip to content

TST: forgive more failures on pyside2 / pyside6 cross imports #23069

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

Merged
merged 2 commits into from
May 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/matplotlib/tests/test_backends_interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,11 @@ def test_cross_Qt_imports():
except subprocess.CalledProcessError as ex:
# if segfault, carry on. We do try to warn the user they
# are doing something that we do not expect to work
if ex.returncode == -11:
if ex.returncode == -signal.SIGSEGV:
continue
# We got the abort signal which is likely because the Qt5 /
# Qt6 cross import is unhappy, carry on.
elif ex.returncode == -signal.SIGABRT:
continue
raise

Expand Down