mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
fix import
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
import os.path
|
import os.path
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from numpy.testing import *
|
|
||||||
from numpy.testing.decorators import skipif
|
from numpy.testing.decorators import skipif
|
||||||
|
|
||||||
from tempfile import NamedTemporaryFile
|
from tempfile import NamedTemporaryFile
|
||||||
@@ -90,4 +89,5 @@ class TestSave:
|
|||||||
yield self.roundtrip, dtype, x
|
yield self.roundtrip, dtype, x
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
from numpy.testing import run_module_suite
|
||||||
run_module_suite()
|
run_module_suite()
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
from numpy.testing import *
|
from numpy.testing import (assert_raises,
|
||||||
|
assert_array_equal,
|
||||||
|
)
|
||||||
|
|
||||||
from skimage.measure import find_contours
|
from skimage.measure import find_contours
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user