aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-flit/tests-use-python3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-flit/tests-use-python3.patch')
-rw-r--r--community/py3-flit/tests-use-python3.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/py3-flit/tests-use-python3.patch b/community/py3-flit/tests-use-python3.patch
new file mode 100644
index 00000000000..ab4a3bb01af
--- /dev/null
+++ b/community/py3-flit/tests-use-python3.patch
@@ -0,0 +1,18 @@
+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
+@@ -16,11 +16,11 @@ def test_self():
+
+
+ def test_abs():
+- assert find_python_executable("/usr/bin/python") == "/usr/bin/python"
++ assert find_python_executable("/usr/bin/python3") == "/usr/bin/python3"
+
+
+ def test_find_in_path():
+- assert os.path.isabs(find_python_executable("python"))
++ assert os.path.isabs(find_python_executable("python3"))
+
+
+ @pytest.mark.parametrize("bad_python_name", ["pyhton", "ls", "."])