summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2024-03-25 17:25:32 +0100
committerFlorian Bruhin <me@the-compiler.org>2024-03-25 23:05:16 +0100
commitad3ba9fe84166d0c8fe5de59be5f0fc27a251a35 (patch)
tree1ba74519c8cab91a7a6f0ddaad967bf81ee33259 /pytest.ini
parent01f4807eaf8d20dcc3802cd2febf9432568f3935 (diff)
downloadqutebrowser-ad3ba9fe84166d0c8fe5de59be5f0fc27a251a35.tar.gz
qutebrowser-ad3ba9fe84166d0c8fe5de59be5f0fc27a251a35.zip
tests: Avoid accessing Qt statics at import time
With a Qt 6.7 developer build, the tests fail with: ASSERT failure in QtGlobalStatic::ApplicationHolder<QAS>::PlainType* QtGlobalStatic::ApplicationHolder<QAS>::pointer() [with QAS = {anonymous}::Q_QAS_qtlsbLoader; PlainType = QFactoryLoader]: "The application static was used without a QCoreApplication instance", file .../qtbase/src/corelib/kernel/qapplicationstatic.h, line 54 Fatal Python error: Aborted [...] Current thread 0x00007c18bb3f3740 (most recent call first): File ".../tests/unit/browser/webkit/test_certificateerror.py", line 23 in <module> See https://codereview.qt-project.org/c/qt/qtbase/+/495239
Diffstat (limited to 'pytest.ini')
0 files changed, 0 insertions, 0 deletions