Skip to content

Commit

Permalink
tests for issue python-pillow#1475
Browse files Browse the repository at this point in the history
  • Loading branch information
wiredfool committed Oct 9, 2015
1 parent 509a65c commit 7b0c98f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Tests/large_memory_numpy_test.py
Expand Up @@ -38,6 +38,15 @@ def test_2gpx(self):
"""failed prepatch"""
self._write_png(XDIM, XDIM)

def test_1475(self):
""" issue #1475 """
self._write_png(36352, 18144)

def test_1475_b(self):
a = np.zeros((36352, 18144), dtype=np.float)
im = Image.fromarray(a, mode='F')



if __name__ == '__main__':
unittest.main()
Expand Down

0 comments on commit 7b0c98f

Please sign in to comment.