We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1eb49ae + 6ad808d commit 89195ecCopy full SHA for 89195ec
lib/matplotlib/tests/test_backends_interactive.py
@@ -350,7 +350,11 @@ def test_cross_Qt_imports():
350
except subprocess.CalledProcessError as ex:
351
# if segfault, carry on. We do try to warn the user they
352
# are doing something that we do not expect to work
353
- if ex.returncode == -11:
+ if ex.returncode == -signal.SIGSEGV:
354
+ continue
355
+ # We got the abort signal which is likely because the Qt5 /
356
+ # Qt6 cross import is unhappy, carry on.
357
+ elif ex.returncode == -signal.SIGABRT:
358
continue
359
raise
360
0 commit comments