diff tests/test-evolve-obshistory-amend.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 0b9fcdcdc58f
children a34b5cf906c6 12c53d7122a7
line wrap: on
line diff
--- a/tests/test-evolve-obshistory-amend.t	Sat Oct 24 23:55:15 2020 +0800
+++ b/tests/test-evolve-obshistory-amend.t	Sun Oct 25 21:38:37 2020 +0800
@@ -155,7 +155,7 @@
   |
   x  A0
   
-  $ hg obslog 4ae3a4151de9 --no-graph -Tjson | python -m json.tool
+  $ hg obslog 4ae3a4151de9 --no-graph -Tjson | "$PYTHON" -m json.tool
   [
       {
           "markers": [
@@ -194,7 +194,7 @@
   $ hg obslog --hidden --patch 471f378eab4c
   x  471f378eab4c (1) A0
   
-  $ hg obslog --hidden 471f378eab4c --no-graph -Tjson | python -m json.tool
+  $ hg obslog --hidden 471f378eab4c --no-graph -Tjson | "$PYTHON" -m json.tool
   [
       {
           "markers": [],