From c98f731f7e720a609d8f30d5a50888ec05869721 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Sun, 5 Jan 2014 21:36:13 -0800 Subject: [PATCH] Ensuring c-api access --- Tests/test_image_getpixel.py | 2 ++ Tests/test_image_putpixel.py | 2 ++ 2 files changed, 4 insertions(+) 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()