From c5ce96c391bf6d45c0395392bec28051727e6db4 Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Thu, 23 May 2013 19:44:05 +0000 Subject: [PATCH] Fix py3 test --- tests/fields/file_tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/fields/file_tests.py b/tests/fields/file_tests.py index fa76175d..b3b61080 100644 --- a/tests/fields/file_tests.py +++ b/tests/fields/file_tests.py @@ -409,6 +409,9 @@ class FileTest(unittest.TestCase): def test_get_image_by_grid_id(self): + if PY3: + raise SkipTest('PIL does not have Python 3 support') + class TestImage(Document): image1 = ImageField()