File: use_python3_for_tests

package info (click to toggle)
polib 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 840 kB
  • sloc: python: 1,683; makefile: 113; sh: 6
file content (14 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Use python3 in test
Author: Angel Abad <angel@debian.org>
Forwarded: no
Last-Updated: 2019-08-31

--- polib/runtests.sh
+++ polib/runtests.sh
@@ -3,5 +3,5 @@ if which coverage > /dev/null; then
     coverage run tests/tests.py
     coverage report
 else
-    /usr/bin/env python tests/tests.py
+    /usr/bin/env python3 tests/tests.py
 fi