--- a/tests/test-check-pyflakes.t Mon Jul 18 08:55:30 2016 +0100
+++ b/tests/test-check-pyflakes.t Sun Jul 17 19:48:04 2016 +0530
@@ -6,7 +6,9 @@
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")' 2>/dev/null \
+ $ hg locate 'set:**.py or grep("^#!.*python")' \
+ > -X mercurial/pycompat.py \
+ > 2>/dev/null \
> | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
tests/filterpyflakes.py:61: undefined name 'undefinedname'