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 4d6568c commit 5cf44f8Copy full SHA for 5cf44f8
1 file changed
lib/matplotlib/tests/test_backends_interactive.py
@@ -357,11 +357,11 @@ def test_cross_Qt_imports():
357
except subprocess.CalledProcessError as ex:
358
# if segfault, carry on. We do try to warn the user they
359
# are doing something that we do not expect to work
360
- if ex.returncode == -11:
+ if ex.returncode == -signal.SIGSEGV:
361
continue
362
# We got the abort signal which is likely because the Qt5 /
363
# Qt6 cross import is unhappy, carry on.
364
- elif ex.returncode == -6:
+ elif ex.returncode == -signal.SIGABRT:
365
366
raise
367
0 commit comments