Mercurial > evolve
changeset 4333:824fcba2cdb4 stable
test-pyflakes: use '/' when printing the files to check
If paths are printed with '\', `xargs` sees the parts allsmooshedtogether, and
pyflakes errors out.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 04 Jan 2019 18:49:53 -0500 |
parents | 9980df8eda98 |
children | 24f90069b772 |
files | tests/test-check-pyflakes.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-check-pyflakes.t Fri Jan 04 18:46:46 2019 -0500 +++ b/tests/test-check-pyflakes.t Fri Jan 04 18:49:53 2019 -0500 @@ -7,5 +7,5 @@ run pyflakes on all tracked files ending in .py or without a file ending (skipping binary file random-seed) - $ hg locate 'set:(**.py or grep("^#!.*python")) - removed()' 2>/dev/null \ + $ hg locate -I 'set:(**.py or grep("^#!.*python")) - removed()' 2>/dev/null \ > | xargs pyflakes 2>/dev/null