qutebrowser/tests/unit
Florian Bruhin 072b03a631 Avoid version warnings with PyQtWebEngine-Qt5 5.15.17
With PyQtWebEngine-Qt5 5.15.17 (Qt 5.15.19), we seem to run into similar issues
like we already did with Qt 6.5:

https://github.com/qutebrowser/qutebrowser/issues/7624#issuecomment-1474008470
9cb54b2099

However, skipping the ELF test is not enough, as we also get warnings
at runtime (as we don't have any API to get the version at runtime).

We don't care much about Qt 5 at this stage, so let's just not output
warnings in that case (and nothing in the code should care about the exact
QtWebEngine patch level beyond 5.15.2 anyways).

For most user-facing things, we *can* get the exact version number from
the user-agent, so this should not actually affect much.
2025-05-29 23:42:40 +02:00
..
api reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
browser tests: Properly delete webengine DownloadManager objects 2025-05-07 14:06:03 +02:00
commands Fix remaining references to old commands 2023-08-15 20:15:48 +02:00
completion Add test to ensure `set_model(None)` cleans up 2024-06-09 18:16:01 +12:00
components Drop unneeded nonlocal 2025-03-31 08:44:45 +02:00
config tests: Fix TestYamlMigrations.test_user_agent 2025-04-08 20:50:13 +02:00
extensions Revert "walk_module workaround for PyInstaller" 2023-10-28 10:44:55 +13:00
javascript Fix and simplify JS quirks tests 2025-03-25 14:23:48 +01:00
keyinput Use str.removeprefix() and str.removesuffix() 2024-10-13 18:24:44 +02:00
mainwindow reuse: Replace last copyright texts 2023-07-23 12:59:11 +02:00
misc Avoid version warnings with PyQtWebEngine-Qt5 5.15.17 2025-05-29 23:42:40 +02:00
scripts Fix lint/tests 2023-07-23 14:10:10 +02:00
utils tests: Add sanity check for stray timer objects 2025-05-07 13:39:48 +02:00
test_app.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
test_qt_machinery.py Use builtin list/dict/set/... types for annotations 2024-10-15 11:54:49 +02:00
test_qutebrowser.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00