From 95cd5255f2c79b64751eb358ee0080ed1eeeb893 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 8 Sep 2021 14:33:44 +0200 Subject: tests: Skip problematic parts of test_system_default_rendering --- tests/unit/config/test_configutils.py | 8 ++++---- 1 file 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() -- cgit v1.2.3-54-g00ecf