Skip to content

Commit

Permalink
shorten testset names (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzgubic committed Jun 16, 2021
1 parent 7b1ef4c commit e21bf34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "ChainRulesTestUtils"
uuid = "cdddcdb0-9152-4a09-a978-84456f9df70a"
version = "0.7.10"
version = "0.7.11"

[deps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Expand Down
4 changes: 2 additions & 2 deletions src/testers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function _test_frule_alt_tangents(
call, frule_f, config, tangent_transforms, tangents, primals, acc;
isapprox_kwargs...
)
@testset "ȧrgs = $(tsf.(tangents))" for tsf in tangent_transforms
@testset "ȧrgs = $(_string_typeof(tsf.(tangents)))" for tsf in tangent_transforms
_, dΩ = call(frule_f, config, tsf.(tangents), primals...)
_test_add!!_behaviour(acc, dΩ; isapprox_kwargs...)
end
Expand Down Expand Up @@ -289,7 +289,7 @@ function _test_rrule_alt_tangents(
pullback, tangent_transforms, ȳ, accum_cotangents;
isapprox_kwargs...
)
@testset "ȳ = $(tsf(ȳ))" for tsf in tangent_transforms
@testset "ȳ = $(_string_typeof(tsf(ȳ)))" for tsf in tangent_transforms
ad_cotangents = pullback(tsf(ȳ))
for (accum_cotangent, ad_cotangent) in zip(accum_cotangents, ad_cotangents)
_test_add!!_behaviour(accum_cotangent, ad_cotangent; isapprox_kwargs...)
Expand Down

2 comments on commit e21bf34

@mzgubic
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/38969

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.11 -m "<description of version>" e21bf34886112573bde86a9f790e47a8e7d4232d
git push origin v0.7.11

Please sign in to comment.