Skip to content

Commit 5151c95

Browse files
authored
Suppress "stream is closed" warning in tests (#38348)
1 parent 0dd46aa commit 5151c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/REPL/src/TerminalMenus/AbstractMenu.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function request(term::REPL.Terminals.TTYTerminal, m::AbstractMenu; cursor::Unio
188188
REPL.Terminals.raw!(term, true)
189189
true
190190
catch err
191-
@warn("TerminalMenus: Unable to enter raw mode: $err")
191+
suppress_output || @warn("TerminalMenus: Unable to enter raw mode: $err")
192192
false
193193
end
194194
# hide the cursor

0 commit comments

Comments
 (0)