From 424a2b8e5273799318be666e66e87484ba2c5bd9 Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Sun, 11 Dec 2011 19:54:58 -0500 Subject: [PATCH] Remove unused imports --- skimage/detection/setup.py | 2 -- skimage/detection/tests/test_template.py | 9 ++++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/skimage/detection/setup.py b/skimage/detection/setup.py index fd297bd4..52445d0c 100644 --- a/skimage/detection/setup.py +++ b/skimage/detection/setup.py @@ -1,8 +1,6 @@ #!/usr/bin/env python import os -import shutil -import hashlib from skimage._build import cython diff --git a/skimage/detection/tests/test_template.py b/skimage/detection/tests/test_template.py index dfae37cb..c781279b 100644 --- a/skimage/detection/tests/test_template.py +++ b/skimage/detection/tests/test_template.py @@ -1,8 +1,5 @@ -import os.path import numpy as np -from numpy.testing import * -from skimage import data_dir -from skimage.detection import * +from skimage.detection import match_template from numpy.random import randn def test_template(): @@ -43,4 +40,6 @@ def test_template(): assert found if __name__ == "__main__": - run_module_suite() + from numpy import testing + testing.run_module_suite() +