From a1863a430fd3cd11bbad4e03b4e9552930ab4c94 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Wed, 18 Dec 2024 14:18:35 +1000 Subject: [PATCH] Skip test on Geos >= 3.11 Broken due to https://github.com/libgeos/geos/issues/1037 --- .ci/test_blocklist_qt6.txt | 1 - tests/src/python/test_qgslinesymbollayers.py | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/test_blocklist_qt6.txt b/.ci/test_blocklist_qt6.txt index e6ccd68c4db3..7d9ffb0532b5 100644 --- a/.ci/test_blocklist_qt6.txt +++ b/.ci/test_blocklist_qt6.txt @@ -42,7 +42,6 @@ PyQgsElevationProfileCanvas PyQgsProject PyQgsFloatingWidget PyQgsLayoutHtml -PyQgsLineSymbolLayers PyQgsMapBoxGlStyleConverter PyQgsNetworkAccessManager PyQgsPalLabelingPlacement diff --git a/tests/src/python/test_qgslinesymbollayers.py b/tests/src/python/test_qgslinesymbollayers.py index 0090f85e967e..88945251ecc9 100644 --- a/tests/src/python/test_qgslinesymbollayers.py +++ b/tests/src/python/test_qgslinesymbollayers.py @@ -12,6 +12,7 @@ from qgis.PyQt.QtGui import QColor, QImage, QPainter from qgis.core import ( + Qgis, QgsFeature, QgsGeometry, QgsLineSymbol, @@ -34,6 +35,10 @@ class TestQgsLineSymbolLayers(QgisTestCase): def control_path_prefix(cls): return "symbol_layer" + @unittest.skipIf( + Qgis.geosVersionMajor() == 3 and Qgis.geosVersionMinor() >= 11, + "Broken upstream due to https://github.com/libgeos/geos/issues/1037", + ) def testSimpleLineWithOffset(self): """test that rendering a simple line symbol with offset""" layer = QgsSimpleLineSymbolLayer(QColor(0, 0, 0))