Skip to content

Commit 2f1bbf6

Browse files
authored
Skip broken test on v1.6 (#779)
* skip broken test on v1.6 * limit broken test to v1.7+
1 parent 46b1258 commit 2f1bbf6

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

test/ReadmeTest.jl

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,14 @@ using ApproxFun, SpecialFunctions, LinearAlgebra, Test
107107
# [ones(∂(d));0.];tolerance=1E-10) # First four entries of rhs are
108108
#
109109

110-
111-
112-
QR = qr([Dirichlet(d);Laplacian()+100I])
113-
@time ApproxFun.resizedata!(QR,:,4000)
114-
@time u = \(QR,
115-
[ones((d));0.];tolerance=1E-7)
116-
117-
118-
@test u(0.1,1.) 1.0
119-
@test (u(0.1,0.2),-0.02768276827514463;atol=1E-8)
110+
# this is broken on v1.6 (on BandedArrays < v0.16.16), so we skip on errors
111+
if VERSION >= v"1.7"
112+
QR = qr([Dirichlet(d);Laplacian()+100I])
113+
@time ApproxFun.resizedata!(QR,:,4000)
114+
@time u = \(QR, [ones((d)); 0.]; tolerance=1E-7)
115+
@test u(0.1,1.) 1.0
116+
@test (u(0.1,0.2),-0.02768276827514463;atol=1E-8)
117+
end
120118
end
121119

122120
# @testset "BigFloat" begin

0 commit comments

Comments
 (0)