Skip to content

Commit 5968bae

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7ae313b commit 5968bae

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/utils/test_parallelize.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ def test_parallelize_loky(func):
7979
init_threads = numba.get_num_threads()
8080
expected = np.vstack([func(a1, arr2, check_threads=False) for a1 in arr1])
8181

82-
p_func = parallelize(runner, arr1, n_jobs=n_jobs, backend="loky", use_ixs=False, extractor=np.vstack, show_progress=False)
82+
p_func = parallelize(
83+
runner, arr1, n_jobs=n_jobs, backend="loky", use_ixs=False, extractor=np.vstack, show_progress=False
84+
)
8385
result = p_func(arr2)
8486

8587
assert numba.get_num_threads() == init_threads, "Number of threads should stay the same after parallelization"

0 commit comments

Comments
 (0)