Code

Opened 4 years ago

Closed 4 years ago

#13700 closed (fixed)

Kill flush call (and doctests) in m2m through tests

Reported by: Alex Owned by: nobody
Component: Testing framework Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

Description

This leads to big speedups on Postgres and PyPy.

Attachments (2)

django-m2m-through-test-cleanup.diff (6.1 KB) - added by Alex 4 years ago.
django-m2m-through-test-cleanup.2.diff (11.5 KB) - added by Alex 4 years ago.
2 years of using this trac and I still don't get it :/

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by Alex

Changed 4 years ago by Alex

2 years of using this trac and I still don't get it :/

comment:1 Changed 4 years ago by russellm

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

(In [13324]) Fixed #13700 -- Converted m2m_through_regress tests to unittests, removing another flush call. Thanks to Alex Gaynor.

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.