view tests/test-check-pyflakes.t @ 16611:462dd183bd73 stable

build: fix hgrc manpage building with docutils 0.9 Since docutils 0.9, `roman` module has been moved from module directory root (i.e. `site-packages/roman.py`) to `docutils.utils` module. Therefore `import roman` statement should be wrapped in `try: ... except ImportError: ...` block to handle importing correctly.
author Nikolaj Sjujskij <sterkrig@myopera.com>
date Tue, 08 May 2012 23:59:39 +0400
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)