Skip to content

Commit 732f033

Browse files
committed
Fix tests.
1 parent 87917a2 commit 732f033

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/pytask_parallel/config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ def pytask_post_parse(config: dict[str, Any]) -> None:
4747
if config["pdb"] or config["trace"] or config["dry_run"]:
4848
return
4949

50+
if config["parallel_backend"] == ParallelBackend.NONE:
51+
return
52+
5053
# Register parallel execute and logging hook.
5154
config["pm"].register(logging)
5255
config["pm"].register(execute)

0 commit comments

Comments
 (0)