Skip to content

Commit

Permalink
Skip test on Geos >= 3.11
Browse files Browse the repository at this point in the history
Broken due to libgeos/geos#1037
  • Loading branch information
nyalldawson committed Dec 18, 2024
1 parent 6318e14 commit a1863a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion .ci/test_blocklist_qt6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ PyQgsElevationProfileCanvas
PyQgsProject
PyQgsFloatingWidget
PyQgsLayoutHtml
PyQgsLineSymbolLayers
PyQgsMapBoxGlStyleConverter
PyQgsNetworkAccessManager
PyQgsPalLabelingPlacement
Expand Down
5 changes: 5 additions & 0 deletions tests/src/python/test_qgslinesymbollayers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

from qgis.PyQt.QtGui import QColor, QImage, QPainter
from qgis.core import (
Qgis,
QgsFeature,
QgsGeometry,
QgsLineSymbol,
Expand All @@ -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))
Expand Down

0 comments on commit a1863a4

Please sign in to comment.