# HG changeset patch # User Matt Harbison # Date 1546645793 18000 # Node ID 824fcba2cdb4f94752b96c82410e686bda1f33d9 # Parent 9980df8eda987f890350e87eacbc61d207b5897d test-pyflakes: use '/' when printing the files to check If paths are printed with '\', `xargs` sees the parts allsmooshedtogether, and pyflakes errors out. diff -r 9980df8eda98 -r 824fcba2cdb4 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