mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Merge pull request #759 from cgohlke/patch-3
Skip LargeMemory tests on 32 bit systems
This commit is contained in:
commit
4408352304
|
@ -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):
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user