mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-01 12:31:10 +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:
commit
e691467590
2 files changed
+637
-629
No files matched your search
@@ -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