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
pytest-qt shows a warning on line 97 (which is empty):
_______________________________ test_warning ________________________________
tests/utils/test_qtutils.py:97: Failure: Qt messages with level WARNING or above emitted
--------------------------- Captured Qt messages ----------------------------
QtWarningMsg: hello world
At the very least, I think the line number should be the function where the issue actually occured.
However, on Qt5 (with qInstallMessageHandler support) it'd also be possible to report the exact location in the captured log message, which would be useful.
I might submit a PR for the latter somewhen this or next week, but if you have the time, feel free to do it 😉
The text was updated successfully, but these errors were encountered:
Currently, if I have a file like this:
pytest-qt shows a warning on line 97 (which is empty):
At the very least, I think the line number should be the function where the issue actually occured.
However, on Qt5 (with
qInstallMessageHandler
support) it'd also be possible to report the exact location in the captured log message, which would be useful.I might submit a PR for the latter somewhen this or next week, but if you have the time, feel free to do it 😉
The text was updated successfully, but these errors were encountered: