summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-09-08 14:33:44 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-09-08 14:33:44 +0200
commit95cd5255f2c79b64751eb358ee0080ed1eeeb893 (patch)
treeb6b67b2bc9a1b63533134d088f8cba2375102ae0
parentffa29dd204d649f7b2d609760b1006cb2c0f3f2b (diff)
downloadqutebrowser-95cd5255f2c79b64751eb358ee0080ed1eeeb893.tar.gz
qutebrowser-95cd5255f2c79b64751eb358ee0080ed1eeeb893.zip
tests: Skip problematic parts of test_system_default_rendering
-rw-r--r--tests/unit/config/test_configutils.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/config/test_configutils.py b/tests/unit/config/test_configutils.py
index e7ce15aff..ec2b17a25 100644
--- a/tests/unit/config/test_configutils.py
+++ b/tests/unit/config/test_configutils.py
@@ -367,6 +367,10 @@ class TestFontFamilies:
# Check the requested font to make sure CSS parsing worked
assert label.font().family() == families.family
+ # Skipping the rest of the test as WORKAROUND for
+ # https://bugreports.qt.io/browse/QTBUG-94090
+ return
+
# Try to find out whether the monospace font did a fallback on a non-monospace
# font...
fallback_label = QLabel()
@@ -382,9 +386,5 @@ 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()