##// END OF EJS Templates
test-check-pyflakes: do not leave test.py in the repo...
Jun Wu -
r33418:1f3b54f3 default
parent child Browse files
Show More
@@ -1,7 +1,6 b''
1 #require test-repo pyflakes hg10
1 #require test-repo pyflakes hg10
2
2
3 $ . "$TESTDIR/helpers-testrepo.sh"
3 $ . "$TESTDIR/helpers-testrepo.sh"
4 $ cd "`dirname "$TESTDIR"`"
5
4
6 run pyflakes on all tracked files ending in .py or without a file ending
5 run pyflakes on all tracked files ending in .py or without a file ending
7 (skipping binary file random-seed)
6 (skipping binary file random-seed)
@@ -12,6 +11,7 b' run pyflakes on all tracked files ending'
12 $ pyflakes test.py 2>/dev/null | "$TESTDIR/filterpyflakes.py"
11 $ pyflakes test.py 2>/dev/null | "$TESTDIR/filterpyflakes.py"
13 test.py:1: undefined name 'undefinedname'
12 test.py:1: undefined name 'undefinedname'
14
13
14 $ cd "`dirname "$TESTDIR"`"
15
15
16 $ testrepohg locate 'set:**.py or grep("^#!.*python")' \
16 $ testrepohg locate 'set:**.py or grep("^#!.*python")' \
17 > -X hgext/fsmonitor/pywatchman \
17 > -X hgext/fsmonitor/pywatchman \
General Comments 0
You need to be logged in to leave comments. Login now