Debian Codegraph @

debian/patches/0002-Use-python3-instead-of-python-in-test.patch

raw
1 From: Emmanuel Arias <[email protected]>
2 Date: Mon, 18 Aug 2025 11:35:06 -0300
3 Subject: Use python3 instead of python in test
4
5 The tests run the command python instead of python3. This
6 patch fix that test.
7
8 Last-Update: 2026-05-10
9 ---
10 test/duct_main/test_e2e.py | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/test/duct_main/test_e2e.py b/test/duct_main/test_e2e.py
14 index 62aefc3..17aba1e 100644
15 --- a/test/duct_main/test_e2e.py
16 +++ b/test/duct_main/test_e2e.py
17 @@ -101,7 +101,7 @@ def test_session_mode_behavior_difference(temp_output_dir: str, duct_cmd: str) -
18
19 # Start a unique background process in the current session
20 background_process = subprocess.Popen(
21 - ["python", "-c", "print('DUCT_TEST_MARKER'); import time; time.sleep(10)"],
22 + ["python3", "-c", "print('DUCT_TEST_MARKER'); import time; time.sleep(10)"],
23 stdout=subprocess.DEVNULL,
24 stderr=subprocess.DEVNULL,
25 )