Handle more warnings

Punt on the issue of warnings with the minimum build

Handle warnings in measure pkg

Fix the rank filter test by forcing a random seed in the function

Compare as boolean in imread test

Import loadmat in test_setup to avoid warning

Use a setup method for imread plugin test

Revoke unintended changes

Fix indentation to appease jni

More indentation fixes

Fix unintentional comment out
This commit is contained in:
Steven Silvester
2014-12-23 16:49:59 -06:00
parent 6db92d387b
commit 782ba46a4c
14 changed files with 29 additions and 23 deletions
+5 -3
View File
@@ -179,12 +179,14 @@ def mono_check(plugin, fmt='png'):
def setup_test():
warnings.simplefilter('error')
with all_warnings():
warnings.simplefilter('error')
with all_warnings():
from scipy import signal, ndimage, special, optimize, linalg
from scipy.io import loadmat
from skimage import filter, viewer, data
data.moon()
if os.environ.get('TRAVIS_PYTHON_VERSION', None) == '2.7':
warnings.simplefilter('default')
if __name__ == '__main__':
color_check('pil')