mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Ensuring c-api access
This commit is contained in:
parent
273a5014d2
commit
c98f731f7e
|
@ -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:
|
||||
|
|
|
@ -2,6 +2,8 @@ from tester import *
|
|||
|
||||
from PIL import Image
|
||||
|
||||
Image.USE_CFFI_ACCESS=False
|
||||
|
||||
def test_sanity():
|
||||
|
||||
im1 = lena()
|
||||
|
|
Loading…
Reference in New Issue
Block a user