Opened 5 years ago

Closed 5 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 5 years ago.
django-m2m-through-test-cleanup.2.diff (11.5 KB) - added by Alex 5 years ago.
2 years of using this trac and I still don't get it :/

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by Alex

Changed 5 years ago by Alex

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

comment:1 Changed 5 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.

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