Skip to content

Tests fail on 1.12 #30

@palday

Description

@palday
     Testing Running tests...
WeakKeyIdDict.gc: Error During Test at /Users/palday/Code/WeakKeyIdDicts.jl/test/runtests.jl:249
  Got exception outside of a @test
  objects of type BigFloat cannot be finalized because they are not mutable
  Stacktrace:
    [1] error(::String, ::Type, ::String)
      @ Base ./error.jl:54
    [2] _check_mutable(o::Any)
      @ Base ./gcutils.jl:41
    [3] finalizer(f::Any, o::Any)
      @ Base ./gcutils.jl:85
    [4] (::WeakKeyIdDicts.var"#7#8"{WeakKeyIdDict{Any, Any}, Int64, BigFloat})()
      @ WeakKeyIdDicts ~/Code/WeakKeyIdDicts.jl/src/WeakKeyIdDicts.jl:137
    [5] lock(f::WeakKeyIdDicts.var"#7#8"{WeakKeyIdDict{Any, Any}, Int64, BigFloat}, l::ReentrantLock)
      @ Base ./lock.jl:335
    [6] lock
      @ ~/Code/WeakKeyIdDicts.jl/src/WeakKeyIdDicts.jl:125 [inlined]
    [7] setindex!(wkh::WeakKeyIdDict{Any, Any}, v::Int64, key::BigFloat)
      @ WeakKeyIdDicts ~/Code/WeakKeyIdDicts.jl/src/WeakKeyIdDicts.jl:133
    [8] top-level scope
      @ ~/Code/WeakKeyIdDicts.jl/test/runtests.jl:6
    [9] macro expansion
      @ ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined]
   [10] macro expansion
      @ ~/Code/WeakKeyIdDicts.jl/test/runtests.jl:251 [inlined]
   [11] macro expansion
      @ ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined]
   [12] macro expansion
      @ ~/Code/WeakKeyIdDicts.jl/test/runtests.jl:252 [inlined]
   [13] include(mapexpr::Function, mod::Module, _path::String)
      @ Base ./Base.jl:307
   [14] top-level scope
      @ none:6
   [15] eval(m::Module, e::Any)
      @ Core ./boot.jl:489
   [16] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:283
   [17] _start()
      @ Base ./client.jl:550
Test Summary:                                  | Pass  Error  Total   Time
WeakKeyIdDicts.jl                              |  121      1    122  11.0s
  Aqua                                         |   10            10   7.1s
  issue julia#10647                            |    1             1   0.2s
  WeakKeyIdDict{Any,Any} and partial inference |   19            19   0.4s
  WeakKeyIdDict                                |   88            88   1.9s
  WeakKeyIdDict.lock                           |    3             3   0.0s
  WeakKeyIdDict.gc                             |           1      1   1.4s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions