Skip to content

Commit ddaf097

Browse files
committed
Skip test on Geos >= 3.11
Broken due to libgeos/geos#1037
1 parent f0a924b commit ddaf097

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.ci/test_blocklist_qt6.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ PyQgsElevationProfileCanvas
4444
PyQgsProject
4545
PyQgsFloatingWidget
4646
PyQgsLayoutHtml
47-
PyQgsLineSymbolLayers
4847
PyQgsMapBoxGlStyleConverter
4948
PyQgsMemoryProvider
5049
PyQgsNetworkAccessManager

tests/src/python/test_qgslinesymbollayers.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
from qgis.PyQt.QtGui import QColor, QImage, QPainter
1414
from qgis.core import (
15+
Qgis,
1516
QgsFeature,
1617
QgsGeometry,
1718
QgsLineSymbol,
@@ -34,6 +35,10 @@ class TestQgsLineSymbolLayers(QgisTestCase):
3435
def control_path_prefix(cls):
3536
return "symbol_layer"
3637

38+
@unittest.skipIf(
39+
Qgis.geosVersionMajor() == 3 and Qgis.geosVersionMinor() >= 11,
40+
"Broken upstream due to https://github.com/libgeos/geos/issues/1037",
41+
)
3742
def testSimpleLineWithOffset(self):
3843
"""test that rendering a simple line symbol with offset"""
3944
layer = QgsSimpleLineSymbolLayer(QColor(0, 0, 0))

0 commit comments

Comments
 (0)