Skip to content

Tests failing on Julia 1.11 (and probably 1.12) #104

@ablaom

Description

@ablaom

Edit. It seems test pass on 1.10 but fail on 1.11. Multiple failures are documented below. As noted, it seems like the issue is the use of unstable RNGs in testing.

Test Summary: | Pass  Total  Time
class_counts  |   12     12  2.4s
Test Summary:  | Pass  Total  Time
table_wrappers |    6      6  2.8s
Test Summary:    | Pass  Total  Time██████████████████████████████████▍                           |  ETA: 0:00:00
generic_resample |   14     14  9.4s
testing checkbalance: Test Failed at /Users/anthony/MLJ/Imbalance/test/extras.jl:16
  Expression: c.output == "1: ▇▇▇▇▇▇ 10 (11.1%) \n0: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 90 (100.0%) \n"
   Evaluated: "1: ▇▇▇▇▇ 9 (9.9%) \n0: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 91 (100.0%) \n" == "1: ▇▇▇▇▇▇ 10 (11.1%) \n0: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 90 (100.0%) \n"

Stacktrace:
 [1] macro expansion
   @ ~/.julia/juliaup/julia-1.11.2+0.x64.apple.darwin14/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined]
 [2] macro expansion
   @ ~/MLJ/Imbalance/test/extras.jl:16 [inlined]
 [3] macro expansion
   @ ~/.julia/juliaup/julia-1.11.2+0.x64.apple.darwin14/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined]
 [4] top-level scope
   @ ~/MLJ/Imbalance/test/extras.jl:4
Test Summary:          | Fail  Total  Time
extras                 |    1      1  3.6s
  testing checkbalance |    1      1  3.6s
ERROR: LoadError: Some tests did not pass: 0 passed, 1 failed, 0 errored, 0 broken.
in expression starting at /Users/anthony/MLJ/Imbalance/test/runtests.jl:46
ERROR: Package Imbalance errored during testing
julia> VERSION
v"1.11.2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions