From 845f1e6464bd6ceaedffd2153cc019d4e208d3ea Mon Sep 17 00:00:00 2001 From: Phillip Alday Date: Tue, 16 Jul 2024 11:30:41 +0200 Subject: [PATCH] suppress some logs in tests --- test/pls.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/pls.jl b/test/pls.jl index 5d39e69b9..c0a540278 100644 --- a/test/pls.jl +++ b/test/pls.jl @@ -628,7 +628,7 @@ end """ ) @test_throws(ArgumentError("initial or final parameters in io do not satisfy lowerbd"), - restoreoptsum!(m, seekstart(iob))) + @suppress restoreoptsum!(m, seekstart(iob))) # make sure new fields are correctly restored mktemp() do path, io @@ -638,7 +638,7 @@ end saveoptsum(io, m) m.optsum.xtol_zero_abs = 1.0 m.optsum.ftol_zero_abs = 1.0 - restoreoptsum!(m, seekstart(io)) + @suppress restoreoptsum!(m, seekstart(io)) @test m.optsum.xtol_zero_abs == 0.5 @test m.optsum.ftol_zero_abs == 0.5 end @@ -646,7 +646,7 @@ end end @testset "profile" begin - pr = profile(last(models(:sleepstudy))) + pr = @suppress profile(last(models(:sleepstudy))) tbl = pr.tbl @test length(tbl) >= 122 ci = confint(pr)