diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-05-29 00:24:25 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-05-29 00:24:32 +0200 |
commit | 05b53f5cd467e5bdc93d2638155c9296c054cba7 (patch) | |
tree | 61929f0fbe1cb2e8361e8ee869db2c7581739417 | |
parent | 2da681de31234cb7774cedf8153076f910338186 (diff) | |
download | qutebrowser-05b53f5cd467e5bdc93d2638155c9296c054cba7.tar.gz qutebrowser-05b53f5cd467e5bdc93d2638155c9296c054cba7.zip |
tests: Fix test_system_default_rendering with Noto Sans Mono
(cherry picked from commit 33596cfa4abb70df87551600d4c1eeb79a27c106)
-rw-r--r-- | tests/unit/config/test_configutils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/config/test_configutils.py b/tests/unit/config/test_configutils.py index 4d3082a92..e06463bb4 100644 --- a/tests/unit/config/test_configutils.py +++ b/tests/unit/config/test_configutils.py @@ -405,5 +405,9 @@ class TestFontFamilies: if info.family() == fallback_family: return + if info.family() == 'Noto Sans Mono': + # WORKAROUND for https://bugreports.qt.io/browse/QTBUG-94090 + return + # If we didn't fall back, we should've gotten a fixed-pitch font. assert info.fixedPitch(), info.family() |