Skip to content

Commit

Permalink
resolving shortened url
Browse files Browse the repository at this point in the history
  • Loading branch information
wiredfool committed Sep 30, 2013
1 parent 660b1a9 commit 753a326
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/test_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ def to_image(dtype, bands=1, bool=0):
assert_image(to_image(numpy.uint8, 4), "RGBA", (10, 10))


# based on an erring example at http://is.gd/6F0esS
# based on an erring example at http://is.gd/6F0esS (which resolves to)
# http://stackoverflow.com/questions/10854903/what-is-causing-dimension-dependent-attributeerror-in-pil-fromarray-function
def test_3d_array():
a = numpy.ones((10, 10, 10), dtype=numpy.uint8)
assert_image(Image.fromarray(a[1, :, :]), "L", (10, 10))
Expand Down

0 comments on commit 753a326

Please sign in to comment.