#25108: Tests fails when using Pillow 2.9.0
-------------------------------+--------------------
     Reporter:  double-y       |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  HTTP handling  |    Version:  master
     Severity:  Normal         |   Keywords:  test
 Triage Stage:  Unreviewed     |  Has patch:  1
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 A test failed in python3.4.3

 {{{
 $ ./runtests.py ./forms_tests
 Testing against Django installed in
 '/Users/yasudayousuke/oss_hack/django_dev/django_parent/django'
 Creating test database for alias 'default'...
 Creating test database for alias 'other'...
 
..................................................................................................................F.....................................................................................................................................................................................................................................................................................................................s...........
 ======================================================================
 FAIL: test_imagefield_annotate_with_bitmap_image_after_clean
 (forms_tests.tests.test_fields.FieldsTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 
"/Users/yasudayousuke/oss_hack/django_dev/django_parent/tests/forms_tests/tests/test_fields.py",
 line 862, in test_imagefield_annotate_with_bitmap_image_after_clean
     self.assertIsNone(uploaded_file.content_type)
 AssertionError: 'image/bmp' is not None
 }}}

 Probably the cause is the change of library Pillow added few days ago.
 https://github.com/python-
 pillow/Pillow/commit/fe18b039ca9e11c6deed8f21a9e5eca815badbb7

 My Pillow version is 2.9.0, so the content_type is "image/bmp" and is not
 None.

--
Ticket URL: <https://code.djangoproject.com/ticket/25108>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.45682e5864835eec4a08f19bf8bce889%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to