diff tests/test-template-functions.t @ 39707:5abc47d4ca6b

tests: quote PYTHON usage Python3 defaults to installing under "Program Files".
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 18 Sep 2018 23:47:21 -0400
parents 83f8f7b9fa60
children 9458dbfa7f33
line wrap: on
line diff
--- a/tests/test-template-functions.t	Tue Sep 18 22:40:03 2018 -0400
+++ b/tests/test-template-functions.t	Tue Sep 18 23:47:21 2018 -0400
@@ -1393,7 +1393,7 @@
 
   $ hg init nonascii
   $ cd nonascii
-  $ $PYTHON <<EOF
+  $ "$PYTHON" <<EOF
   > open('latin1', 'wb').write(b'\xe9')
   > open('utf-8', 'wb').write(b'\xc3\xa9')
   > EOF