We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9cf4611 + 5cf44f8 commit 59c8a87Copy full SHA for 59c8a87
lib/matplotlib/tests/test_backends_interactive.py
@@ -362,7 +362,11 @@ def test_cross_Qt_imports():
362
except subprocess.CalledProcessError as ex:
363
# if segfault, carry on. We do try to warn the user they
364
# are doing something that we do not expect to work
365
- if ex.returncode == -11:
+ if ex.returncode == -signal.SIGSEGV:
366
+ continue
367
+ # We got the abort signal which is likely because the Qt5 /
368
+ # Qt6 cross import is unhappy, carry on.
369
+ elif ex.returncode == -signal.SIGABRT:
370
continue
371
raise
372
0 commit comments