Skip to content

Commit e21bf34

Browse files
authored
shorten testset names (#178)
1 parent 7b1ef4c commit e21bf34

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ChainRulesTestUtils"
22
uuid = "cdddcdb0-9152-4a09-a978-84456f9df70a"
3-
version = "0.7.10"
3+
version = "0.7.11"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

src/testers.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function _test_frule_alt_tangents(
165165
call, frule_f, config, tangent_transforms, tangents, primals, acc;
166166
isapprox_kwargs...
167167
)
168-
@testset "ȧrgs = $(tsf.(tangents))" for tsf in tangent_transforms
168+
@testset "ȧrgs = $(_string_typeof(tsf.(tangents)))" for tsf in tangent_transforms
169169
_, dΩ = call(frule_f, config, tsf.(tangents), primals...)
170170
_test_add!!_behaviour(acc, dΩ; isapprox_kwargs...)
171171
end
@@ -289,7 +289,7 @@ function _test_rrule_alt_tangents(
289289
pullback, tangent_transforms, ȳ, accum_cotangents;
290290
isapprox_kwargs...
291291
)
292-
@testset "ȳ = $(tsf(ȳ))" for tsf in tangent_transforms
292+
@testset "ȳ = $(_string_typeof(tsf(ȳ)))" for tsf in tangent_transforms
293293
ad_cotangents = pullback(tsf(ȳ))
294294
for (accum_cotangent, ad_cotangent) in zip(accum_cotangents, ad_cotangents)
295295
_test_add!!_behaviour(accum_cotangent, ad_cotangent; isapprox_kwargs...)

0 commit comments

Comments
 (0)