Skip to content

Commit 53a7bc0

Browse files
committed
Disable the boundscheck-removal tests
These seem flaky and depend on what other code is doing. For now they are not worth it.
1 parent aa5fd29 commit 53a7bc0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/InterpolationTestUtils.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ function check_inbounds_values(itp, A)
5959
for i in eachindex(itp)
6060
@test itp[i,1] A[i] # used in the AbstractArray display infrastructure
6161
@test_throws BoundsError itp[i,2]
62-
if cb
63-
@test_throws BoundsError getindexib(itp, i, 2)
64-
@test_throws BoundsError callib(itp, i, 2)
65-
else
66-
@test getindexib(itp, i, 2) A[i]
67-
@test callib(itp, i, 2) A[i]
68-
end
62+
# if cb
63+
# @test_throws BoundsError getindexib(itp, i, 2)
64+
# @test_throws BoundsError callib(itp, i, 2)
65+
# else
66+
# @test getindexib(itp, i, 2) ≈ A[i]
67+
# @test callib(itp, i, 2) ≈ A[i]
68+
# end
6969
end
7070
end
7171
nothing

0 commit comments

Comments
 (0)