Skip to content

Commit d84f2d4

Browse files
committed
mark reinterpreted reshaped tests as broken on old Julia versions
1 parent d1cd2da commit d84f2d4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/runtests.jl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,8 +760,13 @@ end
760760
@test @inferred(ArrayInterface.strides(u_base)) == (StaticInt(1), 1, 4, 16)
761761
@test @inferred(ArrayInterface.strides(u_vectors)) == (StaticInt(1), 4, 16)
762762
@test @inferred(ArrayInterface.strides(u_view)) == (4,)
763-
@test @inferred(ArrayInterface.strides(u_view_reinterpreted)) == (4,)
764-
@test @inferred(ArrayInterface.strides(u_view_reshaped)) == (4, 4)
763+
if VERSION v"1.6.0-DEV.1581"
764+
@test @inferred(ArrayInterface.strides(u_view_reinterpreted)) == (4,)
765+
@test @inferred(ArrayInterface.strides(u_view_reshaped)) == (4, 4)
766+
else
767+
@test_broken @inferred(ArrayInterface.strides(u_view_reinterpreted)) == (4,)
768+
@test_broken @inferred(ArrayInterface.strides(u_view_reshaped)) == (4, 4)
769+
end
765770
end
766771

767772
@test ArrayInterface.can_avx(ArrayInterface.can_avx) == false

0 commit comments

Comments
 (0)