Skip to content

Commit

Permalink
test_pct.py: skip on sanitize CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Oct 29, 2024
1 parent 7c9d6a7 commit 904c749
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions autotest/pyscripts/test_pct.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def script_path():

def test_rgb2pct_help(script_path):

if gdaltest.is_travis_branch("sanitize"):
pytest.skip("fails on sanitize for unknown reason")

assert "ERROR" not in test_py_scripts.run_py_script(
script_path, "rgb2pct", "--help"
)
Expand All @@ -51,6 +54,9 @@ def test_rgb2pct_help(script_path):

def test_rgb2pct_version(script_path):

if gdaltest.is_travis_branch("sanitize"):
pytest.skip("fails on sanitize for unknown reason")

assert "ERROR" not in test_py_scripts.run_py_script(
script_path, "rgb2pct", "--version"
)
Expand Down

0 comments on commit 904c749

Please sign in to comment.