diff --git a/Tests/large_memory_test.py b/Tests/large_memory_test.py index 8552ed4dd..77b4d9f22 100644 --- a/Tests/large_memory_test.py +++ b/Tests/large_memory_test.py @@ -1,3 +1,6 @@ +import sys +import unittest + from helper import * # This test is not run automatically. @@ -14,6 +17,7 @@ YDIM = 32769 XDIM = 48000 +@unittest.skipIf(sys.maxsize <= 2**32, "requires 64 bit system") class LargeMemoryTest(PillowTestCase): def _write_png(self, xdim, ydim):