From ad4a8906bfe7bd2b85a53a0341ed98dd2f94b7ca Mon Sep 17 00:00:00 2001 From: Jeff Fessler Date: Mon, 20 May 2024 15:30:29 -0400 Subject: [PATCH] To v0.25 (#55) * Isolate test_ambiguities * To v0.25 * Avoid REPL terminal --- Project.toml | 2 +- src/prompt.jl | 2 +- test/aqua.jl | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 80ffa88..0528ce8 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MIRTjim" uuid = "170b2178-6dee-4cb0-8729-b3e8b57834cc" authors = ["Jeff Fessler and contributors"] -version = "0.24" +version = "0.25" [deps] AxisArrays = "39de3d68-74b9-583c-8d2d-e117c070f3a9" diff --git a/src/prompt.jl b/src/prompt.jl index 47f6029..3e7fad1 100644 --- a/src/prompt.jl +++ b/src/prompt.jl @@ -60,7 +60,7 @@ function wait_for_key( ; print(io_out, prompt) - t = REPL.TerminalMenus.terminal + isinteractive() && (t = REPL.TerminalMenus.terminal) isinteractive() && REPL.Terminals.raw!(t, true) char = read(io_in, Char) isinteractive() && REPL.Terminals.raw!(t, false) diff --git a/test/aqua.jl b/test/aqua.jl index 4dab673..1518452 100644 --- a/test/aqua.jl +++ b/test/aqua.jl @@ -3,5 +3,6 @@ import Aqua using Test: @testset @testset "aqua" begin - Aqua.test_all(MIRTjim; ambiguities=false) # todo: so many + Aqua.test_ambiguities(MIRTjim) # got StatsBase errors without isolating!? + Aqua.test_all(MIRTjim; ambiguities = false) end