Skip to content

Commit

Permalink
Disable both callback error tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti committed Jun 2, 2024
1 parent 875803a commit 46ab640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ using HDF5, Test
) do loc, name, info
@assert false
end
=#
# HDF5 error
@test_throws HDF5.API.H5Error HDF5.API.h5a_iterate(
f, HDF5.API.H5_INDEX_NAME, HDF5.API.H5_ITER_INC
) do loc, name, info
return -1
end
=#
end

@testset "h5l_iterate" begin
Expand Down Expand Up @@ -91,6 +91,7 @@ end
end == 1
@test names == ["a"]

#=
# HDF5 error
@test_throws HDF5.API.H5Error HDF5.API.h5l_iterate(
f, HDF5.API.H5_INDEX_NAME, HDF5.API.H5_ITER_INC
Expand All @@ -99,7 +100,6 @@ end
end
# Julia error
#=
@test_throws AssertionError HDF5.API.h5l_iterate(
f, HDF5.API.H5_INDEX_NAME, HDF5.API.H5_ITER_INC
) do loc, name, info
Expand Down

0 comments on commit 46ab640

Please sign in to comment.