diff --git a/Tests/test_image_getpixel.py b/Tests/test_image_getpixel.py index 6c5e8b084..ffa6a9c52 100644 --- a/Tests/test_image_getpixel.py +++ b/Tests/test_image_getpixel.py @@ -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: diff --git a/Tests/test_image_putpixel.py b/Tests/test_image_putpixel.py index 2b60bbd97..5f19237cb 100644 --- a/Tests/test_image_putpixel.py +++ b/Tests/test_image_putpixel.py @@ -2,6 +2,8 @@ from tester import * from PIL import Image +Image.USE_CFFI_ACCESS=False + def test_sanity(): im1 = lena()