Skip to content

Commit

Permalink
booktests: clear verbosity levels before running each chapter (#3612)
Browse files Browse the repository at this point in the history
  • Loading branch information
benlorenz authored Apr 16, 2024
1 parent 70078a6 commit 3f86b80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/book/test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3f86b80

Please sign in to comment.