Skip to content

Commit

Permalink
autotest gdal_calc: skip test failing on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaston committed Jan 17, 2025
1 parent 2fed984 commit 174e822
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autotest/pyscripts/test_gdal_calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import os
import shutil
import sys

import pytest
import test_py_scripts
Expand Down Expand Up @@ -389,6 +390,9 @@ def test_gdal_calc_py_6(tmp_path):
def test_gdal_calc_py_7a(script_path, tmp_path, stefan_full_rgba, opt_prefix):
"""test --optfile"""

if opt_prefix == "@" and sys.platform == "win32":
pytest.skip("@optfile is not read correctly on Windows")

infile = stefan_full_rgba
out = tmp_path / "out.tif"
opt_file = tmp_path / "opt"
Expand Down

0 comments on commit 174e822

Please sign in to comment.