Commit 12f237af authored by eckhart's avatar eckhart
Browse files

Merge branch 'master' of gitlab.lrz.de:badw-it/DHParser

parents e0f31f30 8c16e008
......@@ -290,7 +290,7 @@ class TestSelfHosting:
return errors
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)]
errors = [r.get(timeout=10) for r in res]
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