Skip to content

Commit 9955044

Browse files
st--github-actions[bot]devmotion
authored
Fix for Zygote 0.6.30 breaking our tests (#409)
* 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]>
1 parent 33d64d1 commit 9955044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_utils.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function check_zygote_type_stability(f, args...; ctx=Zygote.Context())
100100
@inferred f(args...)
101101
@inferred Zygote._pullback(ctx, f, args...)
102102
out, pb = Zygote._pullback(ctx, f, args...)
103-
@inferred pb(out)
103+
@test_throws ErrorException @inferred pb(out)
104104
end
105105

106106
function test_ADs(

0 commit comments

Comments
 (0)