Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#16243 closed Bug (fixed)

model_forms tests won't run if PIL isn't installed

Reported by: julien Owned by: nobody
Component: Testing framework Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The model_forms tests won't run due to an import error if PIL isn't installed since the changes in [16358]. See attached patch.

Attachments (1)

16243.model_forms-pil-tests.diff (1.6 KB) - added by julien 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by julien

comment:1 Changed 3 years ago by marcusf

  • Triage Stage changed from Unreviewed to Ready for checkin

Confirmed. The attached patch fixes the problem for me.

comment:2 Changed 3 years ago by russellm

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

In [16391]:

Fixed #16243 -- Corrected test suite failure in model_forms when PIL isn't installed

comment:3 Changed 3 years ago by russellm

Apologies to Julien for neglecting to credit him in the commit message.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.