Ensuring c-api access

This commit is contained in:
wiredfool 2014-01-05 21:36:13 -08:00
parent 273a5014d2
commit c98f731f7e
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@ from tester import *
from PIL import Image
Image.USE_CFFI_ACCESS=False
def color(mode):
bands = Image.getmodebands(mode)
if bands == 1:

View File

@ -2,6 +2,8 @@ from tester import *
from PIL import Image
Image.USE_CFFI_ACCESS=False
def test_sanity():
im1 = lena()