Mercurial > hg
comparison tests/test-histedit-arguments.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 | 3d3cff1f6bde |
children | fbd168455b26 |
comparison
equal
deleted
inserted
replaced
39706:030d558c6456 | 39707:5abc47d4ca6b |
---|---|
277 [255] | 277 [255] |
278 | 278 |
279 Test that trimming description using multi-byte characters | 279 Test that trimming description using multi-byte characters |
280 -------------------------------------------------------------------- | 280 -------------------------------------------------------------------- |
281 | 281 |
282 $ $PYTHON <<EOF | 282 $ "$PYTHON" <<EOF |
283 > fp = open('logfile', 'wb') | 283 > fp = open('logfile', 'wb') |
284 > fp.write(b'12345678901234567890123456789012345678901234567890' + | 284 > fp.write(b'12345678901234567890123456789012345678901234567890' + |
285 > b'12345') # there are 5 more columns for 80 columns | 285 > b'12345') # there are 5 more columns for 80 columns |
286 > | 286 > |
287 > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes | 287 > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes |