In various situations (especially on OS X), pytest segfaults on exit probably due to Qt/PyQt bugs. We now have a wrapper script which ignores those segfaults if pytest did run successfully.