﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25108	Tests fails when using Pillow 2.9.0	Yosuke Yasuda	Yosuke Yasuda	"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.
"	Bug	closed	Forms	dev	Normal	fixed	test		Accepted	1	0	0	1	0	0
