changeset 20644:779ceb84f4f7

tests: fix unused imports from inotify removal caught by pyflakes
author Matt Mackall <mpm@selenic.com>
date Tue, 04 Mar 2014 09:56:59 -0600
parents 7fc371d2e5a3
children 7d83c3b6e8d9
files setup.py tests/hghave.py tests/test-check-pyflakes.t
diffstat 3 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Thu Feb 27 17:27:03 2014 -0800
+++ b/setup.py	Tue Mar 04 09:56:59 2014 -0600
@@ -64,7 +64,6 @@
 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
--- a/tests/hghave.py	Thu Feb 27 17:27:03 2014 -0800
+++ b/tests/hghave.py	Tue Mar 04 09:56:59 2014 -0600
@@ -1,4 +1,4 @@
-import os, stat, socket
+import os, stat
 import re
 import sys
 import tempfile
--- a/tests/test-check-pyflakes.t	Thu Feb 27 17:27:03 2014 -0800
+++ b/tests/test-check-pyflakes.t	Tue Mar 04 09:56:59 2014 -0600
@@ -10,11 +10,10 @@
   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)