[Updated] D9295: test-filecache: use sys.executable to call python

Phabricator phabricator at mercurial-scm.org
Thu Nov 12 04:51:28 UTC 2020


Closed by commit rHGe01ea8325859: test-filecache: use sys.executable to call python (authored by Mathias De Mare <mathias.de_mare at nokia.com>).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D9295?vs=23459&id=23463

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D9295/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D9295

AFFECTED FILES
  tests/test-filecache.py

CHANGE DETAILS

diff --git a/tests/test-filecache.py b/tests/test-filecache.py
--- a/tests/test-filecache.py
+++ b/tests/test-filecache.py
@@ -5,7 +5,7 @@
 import sys
 
 if subprocess.call(
-    ['python', '%s/hghave' % os.environ['TESTDIR'], 'cacheable']
+    [sys.executable, '%s/hghave' % os.environ['TESTDIR'], 'cacheable']
 ):
     sys.exit(80)
 



To: Mathiasdm, #hg-reviewers, indygreg
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20201112/db433694/attachment-0002.html>


More information about the Mercurial-patches mailing list