Skip to content

Commit 641db33

Browse files
vtjnashKristofferC
authored andcommitted
REPL,test: add dummy reader for output
Refs #38996 (cherry picked from commit 3dcb49b)
1 parent 3b2762b commit 641db33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/REPL/test/repl.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ for prompt = ["TestΠ", () -> randstring(rand(1:10))]
453453
# In the future if we want we can add a test that the right object
454454
# gets displayed by intercepting the display
455455
repl.specialdisplay = REPL.REPLDisplay(repl)
456+
@async write(devnull, stdout_read) # redirect stdout to devnull so we drain the output pipe
456457

457458
repl.interface = REPL.setup_interface(repl)
458459
repl_mode = repl.interface.modes[1]

0 commit comments

Comments
 (0)