diff tests/test-evolve-obshistory-split.t @ 5613:87966baf6ea9

tests: use appropriate Python (2 or 3) for json.tool
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 25 Oct 2020 21:38:37 +0800
parents e8660b28bfee
children a34b5cf906c6 12c53d7122a7
line wrap: on
line diff
--- a/tests/test-evolve-obshistory-split.t	Sat Oct 24 23:55:15 2020 +0800
+++ b/tests/test-evolve-obshistory-split.t	Sun Oct 25 21:38:37 2020 +0800
@@ -109,7 +109,7 @@
          note: testing split
          (No patch available, too many successors (2))
   
-  $ hg obslog 471597cad322 --hidden --no-graph --no-origin -Tjson | python -m json.tool
+  $ hg obslog 471597cad322 --hidden --no-graph --no-origin -Tjson | "$PYTHON" -m json.tool
   [
       {
           "markers": [
@@ -144,7 +144,7 @@
           "shortdescription": "A0"
       }
   ]
-  $ hg obslog 471597cad322 --hidden --no-graph -Tjson | python -m json.tool
+  $ hg obslog 471597cad322 --hidden --no-graph -Tjson | "$PYTHON" -m json.tool
   [
       {
           "markers": [],