Mercurial > hg
view tests/test-check-pyflakes.t @ 19878:21de61bc2ab5 stable
test: make test-propertycache.py python2.4 compatible
The subprocess module have not `check_call` method in python2.4. Fall back to
calling `check` with return code verification.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 02 Oct 2013 11:16:03 +0200 |
parents | 9de689d20230 |
children | 352abbb0be88 |
line wrap: on
line source
$ "$TESTDIR/hghave" pyflakes || exit 80 $ cd "`dirname "$TESTDIR"`" run pyflakes on all tracked files ending in .py or without a file ending (skipping binary file random-seed) $ hg manifest 2>/dev/null | egrep "\.py$|^[^.]*$" | grep -v /random_seed$ \ > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" contrib/win32/hgwebdir_wsgi.py:*: 'win32traceutil' imported but unused (glob) setup.py:*: 'sha' imported but unused (glob) setup.py:*: 'zlib' imported but unused (glob) setup.py:*: 'bz2' imported but unused (glob) setup.py:*: 'py2exe' imported but unused (glob) tests/hghave.py:*: 'hgext' imported but unused (glob) tests/hghave.py:*: '_lsprof' imported but unused (glob) tests/hghave.py:*: 'publish_cmdline' imported but unused (glob) tests/hghave.py:*: 'pygments' imported but unused (glob) tests/hghave.py:*: 'ssl' imported but unused (glob) contrib/win32/hgwebdir_wsgi.py:*: 'from isapi.install import *' used; unable to detect undefined names (glob) hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)