Skip test on Geos >= 3.11

Broken due to https://github.com/libgeos/geos/issues/1037
This commit is contained in:
Nyall Dawson 2024-12-18 14:18:35 +10:00
parent 6318e14b62
commit a1863a430f
2 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,6 @@ PyQgsElevationProfileCanvas
PyQgsProject
PyQgsFloatingWidget
PyQgsLayoutHtml
PyQgsLineSymbolLayers
PyQgsMapBoxGlStyleConverter
PyQgsNetworkAccessManager
PyQgsPalLabelingPlacement

View File

@ -12,6 +12,7 @@ __copyright__ = "Copyright 2017, The QGIS Project"
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))