undefined _Debug_ in examples of @test_logs of module Test (Julia 1.6.1) #41117
Labels
docs
This change adds or pertains to documentation
good first issue
Indicates a good issue for first-time contributors to Julia
versioninfo():
Julia Version 1.6.1
Commit 6aaedec (2021-04-23 05:59 UTC)
Platform Info:
OS: Linux (aarch64-unknown-linux-gnu)
CPU: unknown
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, cortex-a73)
This is a minor bug (I believe) on the webpage: Unit Testing -- Test.@test_logs
— Macro. The two examples for @test_logs involving min_level=Debug complain that Debug is undefined if executed in the REPL/Jupyter, -- indeed it needs to be imported: import Logging: Debug. This is not mentioned anywhere on the Unit Testing webpage. I suggest adding this missing import statement to the examples.
The text was updated successfully, but these errors were encountered: