1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/community/py3-flit/tests-use-python3.patch
2025-03-02 18:05:11 +00:00

19 lines
655 B
Diff

diff --git a/tests/test_find_python_executable.py b/tests/test_find_python_executable.py
index 161dc7a..c6f0ebc 100644
--- a/tests/test_find_python_executable.py
+++ b/tests/test_find_python_executable.py
@@ -18,12 +18,12 @@ def test_self():
def test_abs():
- abs_path = "C:\\PythonXY\\python.exe" if os.name == 'nt' else '/usr/bin/python'
+ abs_path = "C:\\PythonXY\\python.exe" if os.name == 'nt' else '/usr/bin/python3'
assert find_python_executable(abs_path) == abs_path
def test_find_in_path():
- assert isabs(find_python_executable("python"))
+ assert isabs(find_python_executable("python3"))
def test_env(tmp_path):