Skip to content

Commit b135c7a

Browse files
authored
Use @test_throws instead of @test_broken
1 parent fa820f4 commit b135c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_utils.jl

Lines changed: 1 addition & 1 deletion
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-
@test_broken @inferred pb(out)
103+
@test_throws ErrorException @inferred pb(out)
104104
end
105105

106106
function test_ADs(

0 commit comments

Comments
 (0)