tests/test-check-pyflakes.t
author Mads Kiilerich <madski@unity3d.com>
Thu, 03 Jan 2013 21:07:04 +0100
changeset 18302 16c642a6f07d
parent 16350 4f795f5fbb0b
child 19377 0cb996ee8c6d
permissions -rw-r--r--
archival: avoid touching deprecated gzip name attribute The existing workaround didn't work when no filename was specified. If running in a context with warnings enabled and subsecond mtime it gave a warning: DeprecationWarning: use the name attribute

  $ "$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)