comparison tests/test-check-pyflakes.t @ 14140:82f0412ef7de

tests: add pyflakes checking for unused imports
author timeless <timeless@mozdev.org>
date Sun, 01 May 2011 15:22:30 +0200
parents
children 419539ea79cb
comparison
equal deleted inserted replaced
14139:4e5a36eeefd1 14140:82f0412ef7de
1 $ "$TESTDIR/hghave" pyflakes || exit 80
2 $ cd $(dirname $TESTDIR)
3 $ pyflakes mercurial hgext 2>&1 | sort | $TESTDIR/filterpyflakes.py
4 mercurial/commands.py:*: 'base85' imported but unused (glob)
5 mercurial/commands.py:*: 'bdiff' imported but unused (glob)
6 mercurial/commands.py:*: 'mpatch' imported but unused (glob)
7 mercurial/commands.py:*: 'osutil' imported but unused (glob)
8 mercurial/hgweb/server.py:*: 'activeCount' imported but unused (glob)
9 mercurial/revlog.py:*: 'short' imported but unused (glob)
10
11