Skip to content

Commit 0395b38

Browse files
committed
Expect Failures for GDAL < 2 in processing test
1 parent d24a2df commit 0395b38

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

python/plugins/processing/tests/testdata/gdal_algorithm_tests.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,14 @@ tests:
2626
# OUTPUT:
2727
# hash: f1fedeb6782f9389cf43590d4c85ada9155ab61fef6dc285aaeb54d6
2828
# type: rasterhash
29-
- algorithm: gdalogr:information
30-
name: GDAL ogrinfo
29+
30+
31+
- name: GDAL ogrinfo
32+
algorithm: gdalogr:information
33+
# GDAL before 2.0 would ignore NULL features
34+
expectedFailure:
35+
- import osgeo.gdal
36+
- int((osgeo.gdal.__version__.split(".")[0]))<2
3137
params:
3238
INPUT:
3339
name: lines.gml

0 commit comments

Comments
 (0)