16.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 8c16e008 authored by Eckhart Arnold's avatar Eckhart Arnold
Browse files

sync commit

parent d3bda00e
...@@ -290,7 +290,7 @@ class TestSelfHosting: ...@@ -290,7 +290,7 @@ class TestSelfHosting:
return errors return errors
def test_multiprocessing(self): def test_multiprocessing(self):
with Pool(processes=2) as pool: with Pool() as pool:
res = [pool.apply_async(self.multiprocessing_task, ()) for i in range(4)] res = [pool.apply_async(self.multiprocessing_task, ()) for i in range(4)]
errors = [r.get(timeout=10) for r in res] errors = [r.get(timeout=10) for r in res]
for i, e in enumerate(errors): for i, e in enumerate(errors):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment