File: runtests_python3.patch

package info (click to toggle)
psi4 1%3A1.3.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 240,612 kB
  • sloc: cpp: 409,770; python: 209,065; perl: 4,330; makefile: 394; sh: 160; csh: 4
file content (13 lines) | stat: -rw-r--r-- 541 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: psi4/tests/runtest.py
===================================================================
--- psi4.orig/tests/runtest.py
+++ psi4/tests/runtest.py
@@ -118,7 +118,7 @@ elif os.path.isfile(infile.replace(".dat
     else:
         os.environ["PYTHONPATH"] = psilibdir
     outfile = os.path.dirname(infile) + os.path.sep + outfile
-    pyexitcode = backtick(["python", infile, " > ", outfile])
+    pyexitcode = backtick(["python3", infile, " > ", outfile])
 else:
     raise Exception("\n\nError: Input file %s not found\n" % infile)