#21512 closed Cleanup/optimization (fixed)

Test of model_fields and model_forms gives incomplete information about Pillow/PIL situation

Reported by: vajrasky Owned by: vajrasky
Component: Uncategorized Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

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 18 months 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

comment:2 Changed 18 months ago by charettes

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 18 months ago by Baptiste Mispelon <bmispelon@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 16d73d7416a7902703ee8022f093667f7ac9ef5b:

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

Note: See TracTickets for help on using tickets.
Back to Top