tests/test-check-pyflakes.t
author Guillermo Pérez <bisho@fb.com>
Thu, 15 Nov 2012 15:06:32 -0800
changeset 17945 45766e2a7384
parent 16350 4f795f5fbb0b
child 19377 0cb996ee8c6d
permissions -rw-r--r--
patch: make _addmodehdr a function under trydiff addmodehdr is a header helper, same as diffline, so it doesn't need to be a top-level function and can be nested under trydiff. In upcoming patches we will generalize this approach for all headers.

  $ "$TESTDIR/hghave" pyflakes || exit 80
  $ cd "`dirname "$TESTDIR"`"
  $ pyflakes mercurial hgext 2>&1 | "$TESTDIR/filterpyflakes.py"
  hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)