diff --git a/test/runtests.jl b/test/runtests.jl index eee79bc590..1122b8ff94 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2645,12 +2645,9 @@ end @test autodiff(Reverse, f8, Active, Active(1.5))[1][1] == 0 @test autodiff(Forward, f8, Duplicated(1.5, 1.0))[1] == 0 - # On Julia 1.6 the gradients are wrong (0.7 not 1.2), see #973 - @static if VERSION ≥ v"1.7-" - f9(x) = sum(quantile([1.0, x], [0.5, 0.7])) - @test autodiff(Reverse, f9, Active, Active(2.0))[1][1] == 1.2 - @test autodiff(Forward, f9, Duplicated(2.0, 1.0))[1] == 1.2 - end + f9(x) = sum(quantile([1.0, x], [0.5, 0.7])) + @test autodiff(Reverse, f9, Active, Active(2.0))[1][1] == 1.2 + @test autodiff(Forward, f9, Duplicated(2.0, 1.0))[1] == 1.2 end @testset "Linear Solve" begin