tests/test-check-pyflakes.t
author Bryan O'Sullivan <bos@serpentine.com>
Sun, 27 Dec 2015 23:55:54 +0900
changeset 27524 f5b6b4e574c1
parent 27285 aef5b606d3ee
child 29138 a29f071751df
permissions -rw-r--r--
eol: make output stable This eliminates a divergence in behaviour between PyPy and Python.

#require test-repo pyflakes

  $ cd "`dirname "$TESTDIR"`"

run pyflakes on all tracked files ending in .py or without a file ending
(skipping binary file random-seed)

  $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
  > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
  tests/filterpyflakes.py:61: undefined name 'undefinedname'