summaryrefslogtreecommitdiff
path: root/tests/parallelize_itest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parallelize_itest.py')
-rwxr-xr-xtests/parallelize_itest.py3
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}')