On Mon, 2008-03-10 at 04:25 -0700, kent wrote: > On Mar 9, 4:44 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: > > If > > you want to test in-function error recovery, you're going to have to do > > the rollback yourself, just like in normal code. > > Why should normal code which does not use explicit transactions have > to do the rollback? Why not rollback an unmanaged transaction > automatically? The current approach is
[... rant elided...] Thereby making your point that you'd like to see all of core's transactional handling changed slightly. May well be a valid point, but please be clear that you're not actually talking about changing how the test framework handles transactions at all. You're rather proposing a change to core transaction handling. Malcolm -- Monday is an awful way to spend 1/7th of your life. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
