diff --git a/DifferentiationInterface/test/Back/Enzyme/test.jl b/DifferentiationInterface/test/Back/Enzyme/test.jl index 3d8c238c8..8dd70cd1a 100644 --- a/DifferentiationInterface/test/Back/Enzyme/test.jl +++ b/DifferentiationInterface/test/Back/Enzyme/test.jl @@ -99,11 +99,13 @@ test_differentiation( ) @info "Step 6" - test_differentiation( - AutoEnzyme(; mode=Enzyme.Reverse); - excluded=vcat(FIRST_ORDER, [:second_derivative]), - logging=LOGGING, - ) + if VERSION < v"1.11" + test_differentiation( + AutoEnzyme(; mode=Enzyme.Reverse); + excluded=vcat(FIRST_ORDER, [:second_derivative]), + logging=LOGGING, + ) + end end @testset "Sparse" begin