1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #21512 -- Added more complete information about Pillow and PIL in model_fields and model_forms tests.

This commit is contained in:
Vajrasky Kok
2013-11-26 13:52:47 +08:00
committed by Baptiste Mispelon
parent c74504c2dd
commit 16d73d7416
2 changed files with 9 additions and 9 deletions

View File

@@ -1541,7 +1541,7 @@ class OldFormForXTests(TestCase):
self.assertEqual(bif.is_valid(), False)
self.assertEqual(bif.errors, {'biggie': ['Ensure this value is less than or equal to 9223372036854775807.']})
@skipUnless(test_images, "PIL not installed")
@skipUnless(test_images, "Pillow/PIL not installed")
def test_image_field(self):
# ImageField and FileField are nearly identical, but they differ slighty when
# it comes to validation. This specifically tests that #6302 is fixed for