fix import testing

This commit is contained in:
François Boulogne
2013-06-20 23:08:39 +02:00
parent 5c3eef0d86
commit 84bff08601
2 changed files with 11 additions and 2 deletions
+5 -1
View File
@@ -2,7 +2,10 @@ import sys
import os.path
import numpy as np
from numpy.testing import *
from numpy.testing import (assert_raises,
assert_equal,
assert_array_almost_equal,
)
from numpy.testing.decorators import skipif
from skimage import data_dir
@@ -148,4 +151,5 @@ class TestMultiImage():
if __name__ == "__main__":
from numpy.testing import run_module_suite
run_module_suite()
+6 -1
View File
@@ -1,4 +1,8 @@
from numpy.testing import *
from numpy.testing import (assert_array_equal,
assert_almost_equal,
assert_equal,
assert_array_almost_equal,
)
import numpy as np
import skimage.io._plugins._colormixer as cm
@@ -136,4 +140,5 @@ class TestColorMixer(object):
if __name__ == "__main__":
from numpy.testing import run_module_suite
run_module_suite()