Skip to content

Commit ecd5d3d

Browse files
committed
Handle --trace input on Python 3.14
1 parent abf57c2 commit ecd5d3d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_execute.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,11 @@ def test_task_without_path_that_return(runner, tmp_path, parallel_backend):
266266
@pytest.mark.parametrize("parallel_backend", _IMPLEMENTED_BACKENDS)
267267
def test_parallel_execution_is_deactivated(runner, tmp_path, flag, parallel_backend):
268268
tmp_path.joinpath("task_example.py").write_text("def task_example(): pass")
269+
input_ = "c\n" if flag == "--trace" else None
269270
result = runner.invoke(
270271
cli,
271272
[tmp_path.as_posix(), "-n", "2", "--parallel-backend", parallel_backend, flag],
273+
input=input_,
272274
)
273275
assert result.exit_code == ExitCode.OK
274276
assert "Started 2 workers" not in result.output

0 commit comments

Comments
 (0)