Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb49ae commit 6ad808dCopy full SHA for 6ad808d
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