Skip to content

Commit 5658600

Browse files
minor edit
1 parent 2d7bf41 commit 5658600

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nx_parallel/utils/tests/test_chunk.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ def test_get_n_jobs():
2424
assert nxp.get_n_jobs() == 3
2525

2626
# Test with nx-parallel's context
27-
nxp_config = nx.config.backends.parallel
28-
29-
with nxp_config(active=True, n_jobs=5):
27+
with nx.config.backends.parallel(active=True, n_jobs=5):
3028
assert nxp.get_n_jobs() == 5
3129

3230
# Test with n_jobs = 0 to raise a ValueError

0 commit comments

Comments
 (0)