Skip to content

Commit fd166e0

Browse files
committed
Avoid loky backend in notebook tests on Windows 3.14
1 parent ad193e2 commit fd166e0

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

tests/test_jupyter/test_functional_interface.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444
"metadata": {},
4545
"outputs": [],
4646
"source": [
47-
"session = pytask.build(tasks=[create_file, create_text], n_workers=2)\n",
47+
"session = pytask.build(\n",
48+
" tasks=[create_file, create_text], n_workers=2, parallel_backend=\"processes\"\n",
49+
")\n",
4850
"assert session.exit_code == ExitCode.OK"
4951
]
5052
}

tests/test_jupyter/test_functional_interface_w_relative_path.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444
"metadata": {},
4545
"outputs": [],
4646
"source": [
47-
"session = pytask.build(tasks=[create_file, create_text], n_workers=2)\n",
47+
"session = pytask.build(\n",
48+
" tasks=[create_file, create_text], n_workers=2, parallel_backend=\"processes\"\n",
49+
")\n",
4850
"assert session.exit_code == ExitCode.OK"
4951
]
5052
}

0 commit comments

Comments
 (0)