COSMIT pep8

This commit is contained in:
Andreas Mueller
2012-06-29 11:27:23 +02:00
parent b891a7c9d1
commit f7b3d8062c
98 changed files with 1025 additions and 866 deletions
+3 -1
View File
@@ -2,16 +2,19 @@ import skimage.data as data
from numpy.testing import assert_equal, assert_array_equal
import numpy as np
def test_lena():
""" Test that "Lena" image can be loaded. """
lena = data.lena()
assert_equal(lena.shape, (512, 512, 3))
def test_camera():
""" Test that "camera" image can be loaded. """
cameraman = data.camera()
assert_equal(cameraman.ndim, 2)
def test_checkerboard():
""" Test that checkerboard image can be loaded. """
checkerboard = data.checkerboard()
@@ -19,4 +22,3 @@ def test_checkerboard():
if __name__ == "__main__":
from numpy.testing import run_module_suite
run_module_suite()