-
Notifications
You must be signed in to change notification settings - Fork 450
Closed
Description
While working on reproducible builds for openSUSE, I noticed
that 2 tests would fail on 1-core-VMs (using python-joblib 0.12.1)
_______________________ test_nested_parallel_limit[loky] _______________________
> assert backend_types_and_levels == expected_types_and_levels
E AssertionError: assert [('LokyBacken...lBackend', 2)] == [('LokyBackend...lBackend', 3)]
____________________ test_nested_parallel_limit[threading] _____________________
backend = 'threading'
@with_multiprocessing
@parametrize('backend', ['loky', 'threading'])
def test_nested_parallel_limit(backend):
with parallel_backend(backend, n_jobs=2):
backend_types_and_levels = _recursive_backend_info()
top_level_backend_type = backend.title() + 'Backend'
expected_types_and_levels = [
(top_level_backend_type, 0),
('ThreadingBackend', 1),
('SequentialBackend', 2),
('SequentialBackend', 3)
]
> assert backend_types_and_levels == expected_types_and_levels
E AssertionError: assert [('ThreadingB...lBackend', 2)] == [('ThreadingBa...lBackend', 3)]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels