diff tests/test-extdiff.t @ 32938:b6776b34e44e

tests: use $PYTHON in #! so we always use the right Python
author Augie Fackler <augie@google.com>
date Thu, 15 Jun 2017 14:27:52 -0400
parents 8a1ff5ed620e
children 3b77d4787c18
line wrap: on
line diff
--- a/tests/test-extdiff.t	Tue Jun 20 09:33:19 2017 -0400
+++ b/tests/test-extdiff.t	Thu Jun 15 14:27:52 2017 -0400
@@ -249,7 +249,7 @@
 Prepare custom diff/edit tool:
 
   $ cat > 'diff tool.py' << EOT
-  > #!/usr/bin/env python
+  > #!$PYTHON
   > import time
   > time.sleep(1) # avoid unchanged-timestamp problems
   > file('a/a', 'ab').write('edited\n')