Skip to content

Commit

Permalink
Skip broken tests on 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
david-pl committed Feb 26, 2024
1 parent 5b4cd67 commit 4078c2e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions test/test_operators_sparse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,16 @@ for _IEye in (identityoperator(b_l), identityoperator(b1a, b1b))
@test isa(IEye+IEye, SparseOpType)
@test isa(IEye-IEye, SparseOpType)
@test isa(-IEye, SparseOpType)
@test isa(tensor(IEye, sparse(IEye)), SparseOpType)
@test isa(tensor(sparse(IEye), IEye), SparseOpType)
@test isa(tensor(IEye, IEye), SparseOpType)
if VERSION.major == 1 && VERSION.minor == 6
# julia 1.6 LTS, something's broken here
@test_skip isa(tensor(IEye, sparse(IEye)), SparseOpType)
@test_skip isa(tensor(sparse(IEye), IEye), SparseOpType)
@test_skip isa(tensor(IEye, IEye), SparseOpType)
else
@test isa(tensor(IEye, sparse(IEye)), SparseOpType)
@test isa(tensor(sparse(IEye), IEye), SparseOpType)
@test isa(tensor(IEye, IEye), SparseOpType)
end
end
end

Expand Down

0 comments on commit 4078c2e

Please sign in to comment.