Skip to content

Commit

Permalink
transformer.py: avoid test failure with ICC 2024.0.2.29 (refs OSGeo#9508
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rouault committed Mar 20, 2024
1 parent 48338eb commit 7b1fe39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autotest/gcore/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,8 @@ def test_transformer_tps_precision():

(s, result) = tr.TransformPoint(1, result[0], result[1])
assert s
if i != 1639:
# The test fails on point 172 only with ICC 2024.0.2.29
if i not in (172, 1639):
assert result[0] == pytest.approx(gcp.GCPPixel, rel=1e-5), (i, result)
assert result[1] == pytest.approx(gcp.GCPLine, rel=1e-5), (i, result)

Expand Down

0 comments on commit 7b1fe39

Please sign in to comment.