comparison tests/test-check-pyflakes.t @ 27285:aef5b606d3ee

tests/filterpyflakes: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 06 Dec 2015 22:22:09 -0800
parents 77142de48ae4
children a29f071751df
comparison
equal deleted inserted replaced
27284:f624b0e69105 27285:aef5b606d3ee
5 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
6 (skipping binary file random-seed) 6 (skipping binary file random-seed)
7 7
8 $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \ 8 $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
9 > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" 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