# HG changeset patch # User Matt Mackall # Date 2014-03-04 15:56:59 # Node ID 779ceb84f4f782d32dfe47f6684107c08d2f6142 # Parent 7fc371d2e5a38d8d06878ed78da3f6c22364659d tests: fix unused imports from inotify removal caught by pyflakes diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -64,7 +64,6 @@ from distutils.command.build_ext import from distutils.command.build_py import build_py from distutils.command.install_scripts import install_scripts from distutils.spawn import spawn, find_executable -from distutils.ccompiler import new_compiler from distutils import cygwinccompiler from distutils.errors import CCompilerError, DistutilsExecError from distutils.sysconfig import get_python_inc diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -1,4 +1,4 @@ -import os, stat, socket +import os, stat import re import sys import tempfile diff --git a/tests/test-check-pyflakes.t b/tests/test-check-pyflakes.t --- a/tests/test-check-pyflakes.t +++ b/tests/test-check-pyflakes.t @@ -10,11 +10,10 @@ run pyflakes on all tracked files ending setup.py:*: 'zlib' imported but unused (glob) setup.py:*: 'bz2' imported but unused (glob) setup.py:*: 'py2exe' imported but unused (glob) - tests/hghave.py:*: 'hgext' imported but unused (glob) tests/hghave.py:*: '_lsprof' imported but unused (glob) tests/hghave.py:*: 'publish_cmdline' imported but unused (glob) tests/hghave.py:*: 'pygments' imported but unused (glob) tests/hghave.py:*: 'ssl' imported but unused (glob) - contrib/win32/hgwebdir_wsgi.py:*: 'from isapi.install import *' used; unable to detect undefined names (glob) + contrib/win32/hgwebdir_wsgi.py:93: 'from isapi.install import *' used; unable to detect undefined names (glob)