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 authored and ihnorton committed Oct 21, 2018
1 parent 37c6b0e commit b938f39
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Tests/check_large_memory_numpy.py
Expand Up @@ -38,6 +38,14 @@ 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()

0 comments on commit b938f39

Please sign in to comment.