Skip to content

Commit bad6a01

Browse files
committed
Fix tests
1 parent 72cbf6e commit bad6a01

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

DifferentiationInterface/test/Back/DifferentiateWith/test.jl

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

6363
test_differentiation(
6464
[AutoMooncake(; config = nothing)],
65-
map(DIT.cachify, differentiatewith_scenarios());
65+
map(s -> DIT.cachify(s; use_tuples = true), differentiatewith_scenarios());
6666
excluded = SECOND_ORDER,
6767
logging = LOGGING,
6868
testset_name = "DI tests - Cache",

DifferentiationInterface/test/Core/Internals/display.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ detector = DenseSparsityDetector(AutoForwardDiff(); atol = 1.0e-23)
1111
"DenseSparsityDetector(AutoForwardDiff(); atol=1.0e-23, method=:iterative)"
1212

1313
diffwith = DifferentiateWith(exp, AutoForwardDiff())
14-
@test string(diffwith) == "DifferentiateWith(exp, AutoForwardDiff())"
14+
@test string(diffwith) == "DifferentiateWith(exp, AutoForwardDiff(), ())"
1515

1616
@test required_packages(AutoForwardDiff()) == ["ForwardDiff"]
1717
@test required_packages(AutoZygote()) == ["Zygote"]

0 commit comments

Comments
 (0)