Merge pull request #759 from cgohlke/patch-3

Skip LargeMemory tests on 32 bit systems
This commit is contained in:
Alex Clark ☺ 2014-07-01 05:43:53 -04:00
commit 4408352304
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,5 @@
import sys
from helper import * from helper import *
# This test is not run automatically. # This test is not run automatically.
@ -18,6 +20,7 @@ YDIM = 32769
XDIM = 48000 XDIM = 48000
@unittest.skipIf(sys.maxsize <= 2**32, "requires 64 bit system")
class LargeMemoryNumpyTest(PillowTestCase): class LargeMemoryNumpyTest(PillowTestCase):
def _write_png(self, xdim, ydim): def _write_png(self, xdim, ydim):

View File

@ -1,3 +1,5 @@
import sys
from helper import * from helper import *
# This test is not run automatically. # This test is not run automatically.
@ -14,6 +16,7 @@ YDIM = 32769
XDIM = 48000 XDIM = 48000
@unittest.skipIf(sys.maxsize <= 2**32, "requires 64 bit system")
class LargeMemoryTest(PillowTestCase): class LargeMemoryTest(PillowTestCase):
def _write_png(self, xdim, ydim): def _write_png(self, xdim, ydim):