#31944: Use addCleanup() to register TestContextDecorator cleanups. -------------------------------------+------------------------------------- Reporter: François Freitag | Owner: François Type: | Freitag Cleanup/optimization | Status: closed Component: Testing framework | Version: master Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed * resolution: => fixed Comment: In [changeset:"57dadfac3cfae050c49b80c5ac56008acdef5196" 57dadfac]: {{{ #!CommitTicketReference repository="" revision="57dadfac3cfae050c49b80c5ac56008acdef5196" Fixed #31944 -- Used addCleanup() to register TestContextDecorator cleanups. Cleanups from addCleanup() are scheduled to happen in reverse order to the order they are added (LIFO). Ensures each cleanup is executed from the innermost to the outermost. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/31944#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/073.de93b7b69c6cc21625861d10020f2d2d%40djangoproject.com.