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
The TL;DR is that testing with Qt 5.9 fails because of a change in the logging. The reporter solved this by exporting QT_LOGGING_RULES="default.debug=true" prior to running the tests.
From what I can understand this affects pytest-qt's own test suite only.
I wonder if setting the environment variable QT_LOGGING_RULES before running the tests but after Qt is imported solves this; this way we could easily create an autouse fixture for pytest-qt's test suite which sets this environment variable automatically.
Activity
nicoddemus commentedon Aug 23, 2017
Thanks for the report @ghisvail.
From what I can understand this affects pytest-qt's own test suite only.
I wonder if setting the environment variable
QT_LOGGING_RULES
before running the tests but afterQt
is imported solves this; this way we could easily create an autouse fixture for pytest-qt's test suite which sets this environment variable automatically.