@@ -493,7 +493,7 @@ dictionary mapping test names to expression that include each test file.
493493"""
494494function find_tests (dir:: String )
495495 tests = Dict {String, Expr} ()
496- for (rootpath, dirs , files) in walkdir (dir)
496+ for (rootpath, _dirs , files) in walkdir (dir)
497497 # find Julia files
498498 filter! (files) do file
499499 endswith (file, " .jl" ) && file != = " runtests.jl"
@@ -837,7 +837,7 @@ function runtests(mod::Module, args::ParsedArgs;
837837
838838 function clear_status ()
839839 if status_lines_visible[] > 0
840- for i in 1 : status_lines_visible[]- 1
840+ for _ in 1 : ( status_lines_visible[]- 1 )
841841 print (io_ctx. stdout , " \0 33[2K" ) # Clear entire line
842842 print (io_ctx. stdout , " \0 33[1A" ) # Move up one line
843843 end
@@ -1109,7 +1109,7 @@ function runtests(mod::Module, args::ParsedArgs;
11091109 @async rmprocs (; waitfor= 0 )
11101110
11111111 # print the output generated by each testset
1112- for (testname, result, output, start, stop ) in results
1112+ for (testname, result, output, _start, _stop ) in results
11131113 if ! isempty (output)
11141114 print (io_ctx. stdout , " \n Output generated during execution of '" )
11151115 if result isa Exception || anynonpass (result. value)
@@ -1167,7 +1167,7 @@ function runtests(mod::Module, args::ParsedArgs;
11671167 function collect_results ()
11681168 with_testset (o_ts) do
11691169 completed_tests = Set {String} ()
1170- for (testname, result, output , start, stop) in results
1170+ for (testname, result, _output , start, stop) in results
11711171 push! (completed_tests, testname)
11721172
11731173 if result isa AbstractTestRecord
0 commit comments