Skip to content

Commit adbfadf

Browse files
authored
rm axes
1 parent 6823662 commit adbfadf

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

test/matrixreshaped.jl

+1-8
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function test_matrixreshaped(rng, d1, sizes)
2424
for (d, s) in zip(d1s[1:end-1], sizes[1:end-1])
2525
@test size(d) == s
2626
end
27-
@test size(d1s[end]) == (sizes[end], sizes[end])
27+
@test size(d1s[end]) == (sizes[end][1], sizes[end][1])
2828
end
2929
@testset "MatrixReshaped length" begin
3030
for d in d1s
@@ -36,13 +36,6 @@ function test_matrixreshaped(rng, d1, sizes)
3636
@test ndims(d) == 2
3737
end
3838
end
39-
@testset "MatrixReshaped axes" begin
40-
for d in d1s
41-
# should be unimplemented:
42-
@test_throws MethodError axes(d)
43-
@test_throws MethodError axes(d, 1)
44-
end
45-
end
4639
@testset "MatrixReshaped rank" begin
4740
for (d, s) in zip(d1s, sizes)
4841
@test rank(d) == minimum(s)

0 commit comments

Comments
 (0)