Skip to content

Commit 71e035d

Browse files
committed
Fix tests
1 parent 2905246 commit 71e035d

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

DifferentiationInterface/test/Back/DifferentiateWith/test.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ test_differentiation(
6262

6363
test_differentiation(
6464
[AutoMooncake(; config = nothing)],
65-
map(s -> DIT.cachify(s; use_tuples = true), differentiatewith_scenarios());
65+
map(differentiatewith_scenarios()) do s
66+
s = DIT.cachify(s; use_tuples = true)
67+
DIT.change_function(s, DifferentiateWith(scen.f, AutoFiniteDiff(), (Cache,)))
68+
end;
6669
excluded = SECOND_ORDER,
6770
logging = LOGGING,
6871
testset_name = "DI tests - Cache",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Test
22
group = ENV["JULIA_DI_TEST_GROUP"]
3-
@testset "$group" begin
3+
@testset verbose = true "$group" begin
44
include(joinpath(@__DIR__, group, "test.jl"))
55
end

0 commit comments

Comments
 (0)