test-pyflakes: use '/' when printing the files to check stable
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 04 Jan 2019 18:49:53 -0500
branchstable
changeset 4333 824fcba2cdb4
parent 4332 9980df8eda98
child 4334 24f90069b772
test-pyflakes: use '/' when printing the files to check If paths are printed with '\', `xargs` sees the parts allsmooshedtogether, and pyflakes errors out.
tests/test-check-pyflakes.t
--- 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