From 3f86b80d875bf744a139202a2ccc612dfb90e873 Mon Sep 17 00:00:00 2001 From: Benjamin Lorenz Date: Tue, 16 Apr 2024 08:33:29 +0200 Subject: [PATCH] booktests: clear verbosity levels before running each chapter (#3612) --- test/book/test.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/book/test.jl b/test/book/test.jl index 35010121a0b0..d8ffb25fa51f 100644 --- a/test/book/test.jl +++ b/test/book/test.jl @@ -205,6 +205,9 @@ isdefined(Main, :FakeTerminals) || include(joinpath(pkgdir(REPL),"test","FakeTer mockrepl = MockREPLHelper(chapter) println(" created mockrepl: $(mockrepl.mockdule)") + # clear verbosity levels before each chapter + empty!(Hecke.VERBOSE_LOOKUP) + copy!(LOAD_PATH, custom_load_path) auxmain = joinpath(Oscar.oscardir, "test/book", chapter, "auxiliary_code", "main.jl") if isfile(auxmain)