changeset 29232:3dad34e9d134

tests: fix typo of shebang prefix in test-check-pyflakes.t
author Yuya Nishihara <yuya@tcha.org>
date Sun, 15 May 2016 10:41:01 +0900
parents b1b35a9051c3
children 318534bb5dfd
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	Sun May 15 10:40:26 2016 +0900
+++ b/tests/test-check-pyflakes.t	Sun May 15 10:41:01 2016 +0900
@@ -6,7 +6,7 @@
 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")' 2>/dev/null \
   > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
   tests/filterpyflakes.py:61: undefined name 'undefinedname'