diff tests/test-evolve-obshistory-amend-then-fold.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 8d93e7fc0daa 12c53d7122a7
line wrap: on
line diff
--- a/tests/test-evolve-obshistory-amend-then-fold.t	Sat Oct 24 23:55:15 2020 +0800
+++ b/tests/test-evolve-obshistory-amend-then-fold.t	Sun Oct 25 21:38:37 2020 +0800
@@ -185,7 +185,7 @@
   |
   x  0dec01379d3b (2) B0
   
-  $ hg obslog eb5a0daa2192 --no-graph --no-origin -Tjson | python -m json.tool
+  $ hg obslog eb5a0daa2192 --no-graph --no-origin -Tjson | "$PYTHON" -m json.tool
   [
       {
           "markers": [],
@@ -277,7 +277,7 @@
           "shortdescription": "A0"
       }
   ]
-  $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool
+  $ hg obslog eb5a0daa2192 --no-graph -Tjson | "$PYTHON" -m json.tool
   [
       {
           "markers": [