From 8930052c3d3fd3f89cc52542a4286fd1c8e33064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Wed, 3 Aug 2016 08:07:21 +0200 Subject: [PATCH] Add precision to test_parallel docstring --- skimage/_shared/testing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/skimage/_shared/testing.py b/skimage/_shared/testing.py index 94d17ba9..0b6d638b 100644 --- a/skimage/_shared/testing.py +++ b/skimage/_shared/testing.py @@ -210,6 +210,9 @@ def teardown_test(): def test_parallel(num_threads=2): """Decorator to run the same function multiple times in parallel. + This decorator is useful to ensure that separate threads execute + concurrently and correctly while releasing the GIL. + Parameters ---------- num_threads : int, optional