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