Skip to content

Commit 0de1eac

Browse files
committed
remove isolation on joblib test
1 parent 74bf348 commit 0de1eac

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tests/test_runs/test_run_functions.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,13 +1959,12 @@ def test__run_task_get_arffcontent_2(parallel_mock):
19591959
[
19601960
# `None` picks the backend based on joblib version (loky or multiprocessing) and
19611961
# spawns multiple processes if n_jobs != 1, which means the mock is not applied.
1962-
#TODO njob>1 isolated
1963-
#(2, None, 0),
1964-
#(-1, None, 0),
1962+
(2, None, 0),
1963+
(-1, None, 0),
19651964
(1, None, 10), # with n_jobs=1 the mock *is* applied, since there is no new subprocess
19661965
(1, "sequential", 10),
19671966
(1, "threading", 10),
1968-
#(-1, "threading", 10), # the threading backend does preserve mocks even with parallelizing
1967+
(-1, "threading", 10), # the threading backend does preserve mocks even with parallelizing
19691968
]
19701969
)
19711970
@pytest.mark.test_server()

0 commit comments

Comments
 (0)