mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-11 11:25:30 +08:00
More doctest and pil_plugin fixes
Fix Python2 imread in pil_plugin. Load from data Use all_warnings when importing the other packages More fixes for regionprops doctest
This commit is contained in:
@@ -179,9 +179,11 @@ def mono_check(plugin, fmt='png'):
|
||||
|
||||
|
||||
def setup_test():
|
||||
from scipy import signal, ndimage, special, optimize, linalg
|
||||
from skimage import filter, viewer
|
||||
warnings.simplefilter('error')
|
||||
with all_warnings():
|
||||
from scipy import signal, ndimage, special, optimize, linalg
|
||||
from skimage import filter, viewer, data
|
||||
data.moon()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user