tests/test-verify-repo-operations.py
changeset 46226 0826d684a1b5
parent 45942 89a2afe31e82
child 47063 1d075b857c90
--- a/tests/test-verify-repo-operations.py	Tue Jan 12 17:32:08 2021 -0800
+++ b/tests/test-verify-repo-operations.py	Tue Jan 12 22:43:55 2021 +0100
@@ -11,7 +11,9 @@
 import sys
 
 # Only run if slow tests are allowed
-if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'], 'slow']):
+if subprocess.call(
+    [os.environ['PYTHON'], '%s/hghave' % os.environ['TESTDIR'], 'slow']
+):
     sys.exit(80)
 
 # These tests require Hypothesis and pytz to be installed.
@@ -352,7 +354,7 @@
             o.write(content)
         self.log.append(
             (
-                "$ python -c 'import binascii; "
+                "$ $PYTHON -c 'import binascii; "
                 "print(binascii.unhexlify(\"%s\"))' > %s"
             )
             % (