From 10da645ac676f238a97d8d177c8338b248800a3e Mon Sep 17 00:00:00 2001 From: cgohlke Date: Mon, 30 Jun 2014 19:19:09 -0700 Subject: [PATCH] Skip LargeMemoryTest on 32 bit systems --- Tests/large_memory_test.py | 4 ++++ 1 file changed, 4 insertions(+) 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):