Skip to content

Commit

Permalink
Fix for Zygote 0.6.30 breaking our tests (#409)
Browse files Browse the repository at this point in the history
* restrict Zygote to <0.6.30

* revert Zygote test restriction and add finer-grained testset

* Update test/utils.jl

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* revert testset

* mark test_broken

* Use `@test_throws` instead of `@test_broken`

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Widmann <[email protected]>
  • Loading branch information
3 people authored Nov 24, 2021
1 parent 33d64d1 commit 9955044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function check_zygote_type_stability(f, args...; ctx=Zygote.Context())
@inferred f(args...)
@inferred Zygote._pullback(ctx, f, args...)
out, pb = Zygote._pullback(ctx, f, args...)
@inferred pb(out)
@test_throws ErrorException @inferred pb(out)
end

function test_ADs(
Expand Down

0 comments on commit 9955044

Please sign in to comment.