diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2021-04-04 22:59:50 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2021-04-04 22:59:50 +0200 |
commit | 747cd2fb0a0c2194c377e9508a6f022476621bbd (patch) | |
tree | 9c43bc75e7d0eafdba550edc04b60cb7bdd171b0 | |
parent | a5db1beecc0830a070273c2f155f7cbee91f7a5f (diff) | |
download | cython-747cd2fb0a0c2194c377e9508a6f022476621bbd.tar.gz |
Move variable initialisation to a better place, next to a similar one.
-rwxr-xr-x | runtests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests.py b/runtests.py index 11313b060..2840aeabf 100755 --- a/runtests.py +++ b/runtests.py @@ -2239,10 +2239,10 @@ def main(): pool = multiprocessing.Pool(options.shard_count) tasks = [(options, cmd_args, shard_num) for shard_num in range(options.shard_count)] error_shards = [] + failure_outputs = [] # NOTE: create process pool before time stamper thread to avoid forking issues. total_time = time.time() stats = Stats() - failure_outputs = [] with time_stamper_thread(interval=keep_alive_interval): for shard_num, shard_stats, return_code, failure_output in pool.imap_unordered(runtests_callback, tasks): if return_code != 0: |