diff options
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/parallelize_itest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/parallelize_itest.py b/tests/parallelize_itest.py index 11c5676..6ac9538 100755 --- a/tests/parallelize_itest.py +++ b/tests/parallelize_itest.py @@ -37,7 +37,8 @@ def compute_factorial_remote(n): def test_thread_parallelization() -> None: results = [] for _ in range(50): - results.append(compute_factorial_thread(_)) + f = compute_factorial_thread(_) + results.append(f) smart_future.wait_all(results) for future in results: print(f'Thread: {future}') |
