Test of model_fields and model_forms gives incomplete information about Pillow/PIL situation
|Reported by:||vajrasky||Owned by:||vajrasky|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I ran the test of /tests/model_fields/test_imagefield.py. It skipped a lot of tests. Then I checked the source code.
@skipIf(Image is None, "PIL is required to test ImageField")
I installed PIL then I ran the test again. I got deprecation warning because I installed PIL not Pillow.
Change History (3)
comment:1 Changed 3 years ago by vajrasky
- Has patch set
- Needs documentation unset
- Needs tests unset
- Owner changed from nobody to vajrasky
- Patch needs improvement unset
- Status changed from new to assigned