diff options
| author | Jelmer Vernooij <jelmer@jelmer.uk> | 2022-01-25 18:13:25 +0000 |
|---|---|---|
| committer | Jelmer Vernooij <jelmer@jelmer.uk> | 2022-01-25 18:13:25 +0000 |
| commit | a629de4fbf04b62361e67a1e04e29474ca18d2b0 (patch) | |
| tree | 41ad82c607d59748f4d19f23043c155a9922bd99 /python | |
| parent | 76ebee8cb788885bcfaf2485f66479821b9b57d0 (diff) | |
| download | subunit-git-a629de4fbf04b62361e67a1e04e29474ca18d2b0.tar.gz | |
Explicitly invoke python3.
That's the only major version subunit supports, and some platforms still ship with /usr/bin/python==python2
Diffstat (limited to 'python')
| -rwxr-xr-x | python/subunit/run.py | 2 | ||||
| -rwxr-xr-x | python/subunit/tests/sample-script.py | 2 | ||||
| -rwxr-xr-x | python/subunit/tests/sample-two-script.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/python/subunit/run.py b/python/subunit/run.py index 366e855..20fe86c 100755 --- a/python/subunit/run.py +++ b/python/subunit/run.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # # Simple subunit testrunner for python # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007 diff --git a/python/subunit/tests/sample-script.py b/python/subunit/tests/sample-script.py index 91838f6..f89f6c1 100755 --- a/python/subunit/tests/sample-script.py +++ b/python/subunit/tests/sample-script.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys if sys.platform == "win32": import msvcrt, os diff --git a/python/subunit/tests/sample-two-script.py b/python/subunit/tests/sample-two-script.py index fc73dfc..a687601 100755 --- a/python/subunit/tests/sample-two-script.py +++ b/python/subunit/tests/sample-two-script.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys print("test old mcdonald") print("success old mcdonald") |
