mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Skip CFFI test earlier if it's not installed
This commit is contained in:
parent
cb309c9f59
commit
41e124af05
|
@ -1,16 +1,15 @@
|
||||||
from tester import *
|
from tester import *
|
||||||
|
|
||||||
from PIL import Image, PyAccess
|
|
||||||
|
|
||||||
import test_image_putpixel as put
|
|
||||||
import test_image_getpixel as get
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import cffi
|
import cffi
|
||||||
except:
|
except:
|
||||||
skip()
|
skip()
|
||||||
|
|
||||||
|
from PIL import Image, PyAccess
|
||||||
|
|
||||||
|
import test_image_putpixel as put
|
||||||
|
import test_image_getpixel as get
|
||||||
|
|
||||||
|
|
||||||
Image.USE_CFFI_ACCESS = True
|
Image.USE_CFFI_ACCESS = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user