mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 18:44:19 +08:00
Merge pull request #2227 from sciunto/test_seed_rank
TEST: define seed in setup() / Fix random test failure
This commit is contained in:
@@ -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
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user