Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-3_40] Skip test on Geos >= 3.11 #59954

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .ci/test_blocklist_qt6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ PyQgsElevationProfileCanvas
PyQgsProject
PyQgsFloatingWidget
PyQgsLayoutHtml
PyQgsLineSymbolLayers
PyQgsMapBoxGlStyleConverter
PyQgsMemoryProvider
PyQgsNetworkAccessManager
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
Loading