[MERGE] Allow addCleanup to take arguments

Jonathan Lange jml at mumak.net
Wed Aug 13 02:43:09 BST 2008


Hello all,

This patch allows addCleanup to take arguments and removes the
uniqueness check from addCleanup. This brings addCleanup more inline
with the implementations in Twisted, Launchpad and pyunit3k and also
more in line with the advice I received from Robert and Martin when I
wrote those implementations. <wink>

This patch doesn't add tests for addCleanup, seeing as none were there
— it's just a quick fix to make my life easier. If you'd like tests, I
guess I could pinch some from https://launchpad.net/pyunit3k.

jml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: addCleanup-args.patch
Type: text/x-diff
Size: 3511 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080813/61530aa3/attachment.bin 


More information about the bazaar mailing list