Skip to content

Commit

Permalink
fix use of @test_broken on Julia 1.10 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
palday committed Aug 8, 2023
1 parent dc3213f commit 3771210
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ using Test
# this is fine because it shows usage and tests out a bit more code
@test pyconvert(Bool, info.ch_names == info["ch_names"])
# if this ever works after a compat bump then we know we need to change things
@test_broken info.ch_names == info["ch_names"]
# can't use `naive @test_broken` in julia 1.10+ because it now requires a bool
@test_broken (info.ch_names == info["ch_names"]) isa Bool
@test pyconvert(Bool, info["sfreq"] == 100)
@test pyconvert(Number, info["sfreq"]) == 100
raw = PyMNE.io.RawArray(dat, info)
Expand Down

0 comments on commit 3771210

Please sign in to comment.