File: interpreter-is-python3-not-python.patch

package info (click to toggle)
python-cotyledon 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 300 kB
  • sloc: python: 1,336; makefile: 16
file content (16 lines) | stat: -rw-r--r-- 634 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Interpreter is python3, not just python in Debian
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2026-02-25

--- python-cotyledon-2.2.0.orig/cotyledon/tests/test_functional.py
+++ python-cotyledon-2.2.0/cotyledon/tests/test_functional.py
@@ -63,7 +63,7 @@ class Base(unittest.TestCase):
 
         examplepy = os.path.join(os.path.dirname(__file__), "examples.py")
         self.subp = subprocess.Popen(
-            ["python", examplepy, self.name],
+            ["python3", examplepy, self.name],
             stdout=subprocess.PIPE,
             creationflags=0
             if os.name == "posix"