##// END OF EJS Templates
tests/filterpyflakes: use absolute_import
Gregory Szorc -
r27285:aef5b606 default
parent child Browse files
Show More
@@ -2,7 +2,10 b''
2 2
3 3 # Filter output by pyflakes to control which warnings we check
4 4
5 import sys, re
5 from __future__ import absolute_import
6
7 import re
8 import sys
6 9
7 10 def makekey(typeandline):
8 11 """
@@ -143,7 +143,6 b''
143 143 mercurial/util.py not using absolute_import
144 144 mercurial/windows.py not using absolute_import
145 145 setup.py not using absolute_import
146 tests/filterpyflakes.py not using absolute_import
147 146 tests/filterpyflakes.py requires print_function
148 147 tests/generate-working-copy-states.py not using absolute_import
149 148 tests/generate-working-copy-states.py requires print_function
@@ -7,6 +7,6 b' run pyflakes on all tracked files ending'
7 7
8 8 $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
9 9 > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
10 tests/filterpyflakes.py:58: undefined name 'undefinedname'
10 tests/filterpyflakes.py:61: undefined name 'undefinedname'
11 11
12 12
General Comments 0
You need to be logged in to leave comments. Login now