COSMIT fix ugly line breaks.

This commit is contained in:
Andreas Mueller
2012-06-29 11:27:23 +02:00
parent 9f34c84f1a
commit ee0fd867da
9 changed files with 29 additions and 32 deletions
+1 -2
View File
@@ -13,8 +13,7 @@ class TestPrepareForDisplay:
assert x.dtype == np.dtype(np.uint8)
def test_grey(self):
x = prepare_for_display(
np.arange(12, dtype=float).reshape((4, 3)) / 11.)
x = prepare_for_display(np.arange(12, dtype=float).reshape((4, 3)) / 11)
assert_array_equal(x[..., 0], x[..., 2])
assert x[0, 0, 0] == 0
assert x[3, 2, 0] == 255