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