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:
Steven Silvester
2014-12-23 16:49:38 -06:00
parent 4680f30466
commit 6db92d387b
3 changed files with 13 additions and 6 deletions
+4 -2
View File
@@ -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__':