From 5a3aaa6da3b83ac1895c26ca806949a72312fc37 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Thu, 7 Mar 2024 10:36:09 -0500 Subject: [PATCH] A test is no longer broken (was broken on 1.10.0 but is fixed on 1.10.2) (#919) --- test/scalarstats.jl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/scalarstats.jl b/test/scalarstats.jl index 6d2ebad01..d0a68ecb2 100644 --- a/test/scalarstats.jl +++ b/test/scalarstats.jl @@ -222,12 +222,7 @@ x = sort!(vcat([5:-1:i for i in 1:5]...)) @test mad(Iterators.repeated(4, 10)) == 0 @test mad(Integer[1,2,3,4]) === mad(1:4) let itr = (i for i in 1:10000) - if VERSION >= v"1.10.0-" - # FIXME: Allocations are closer to 10x this on 1.10 - @test_broken (@benchmark mad($itr)).allocs < 200 - else - @test (@benchmark mad($itr)).allocs < 200 - end + @test (@benchmark mad($itr)).allocs < 200 end # Issue 197