summaryrefslogtreecommitdiff
path: root/repo/python-flit/tests-use-python3.patch
blob: ab4a3bb01afc4d913455834fe09b1cc5dbeb729c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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", "."])