You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see two ways around this, which might be worth exploring:
Disable pytest output capturing while creating a QApplication
Use qInstallMessageHandler to set up a custom message handler which prints some messages (fatal ones, at least) to a separate non-captured output stream (like faulthandler support in pytest)
Not sure if (especially the first one) could get too noisy though, Qt might print some unrelated stuff at startup maybe...
The text was updated successfully, but these errors were encountered:
As outlined in Troubleshooting — pytest-qt documentation, when Qt calls abort, often the user doesn't have any useful information due to pytest's output capturing.
I can see two ways around this, which might be worth exploring:
qInstallMessageHandler
to set up a custom message handler which prints some messages (fatal ones, at least) to a separate non-captured output stream (like faulthandler support in pytest)Not sure if (especially the first one) could get too noisy though, Qt might print some unrelated stuff at startup maybe...
The text was updated successfully, but these errors were encountered: