1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Adjust Python interpreter name in the tests.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -12,6 +12,6 @@
for test in tests:
if test not in excludes:
print("%s ..." % test)
- subprocess.call(["python", "./%s" % test])
+ subprocess.call(["python3", "./%s" % test])
print("Done.")
--- a/tests/module_execute.py
+++ b/tests/module_execute.py
@@ -11,7 +11,7 @@
os.unlink(OUTPUT_FILENAME)
os.chdir(os.path.dirname(__file__))
-cmd = "python -m docxtpl %s %s %s %s %s" % (
+cmd = "python3 -m docxtpl %s %s %s %s %s" % (
TEMPLATE_PATH,
JSON_PATH,
OUTPUT_FILENAME,
|