view tests/test-check-pyflakes.t @ 17541:3e3dfa7e6864

tests: unset variable HG if it is set When hg tries to call itself it can call a different hg executable when this variable is set. Some tests fail when the called hg version is different.
author Simon Heimberg <simohe@besonet.ch>
date Sat, 28 Jul 2012 23:28:17 +0200
parents 4f795f5fbb0b
children 0cb996ee8c6d
line wrap: on
line source

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