Skip to content

Commit

Permalink
Stop testing BigFloat keys in WeakKeyIdDict
Browse files Browse the repository at this point in the history
This fails with Julia nightly (as it made BigFloat immutable)
and we don't really need this as a feature either.
  • Loading branch information
fingolfin committed Oct 4, 2024
1 parent 3fe0405 commit 1db2cff
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/WeakKeyIdDict-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,6 @@ end

@testset "WeakKeyIdDict.gc" begin

# issue #26939
d26939 = WeakKeyIdDict()
d26939[big"1.0" + 1.1] = 1
GC.gc() # make sure this doesn't segfault

wkd = WeakKeyIdDict([42]=>2, [43]=>3, [44]=>4)
for k in keys(wkd)
delete!(wkd, k)
Expand Down

0 comments on commit 1db2cff

Please sign in to comment.