[MERGE] TestCase.applyDeprecated

Robert Collins robertc at robertcollins.net
Tue Sep 5 23:58:07 BST 2006


This adds a new TestCase helper applyDeprecated. This allows you to call
a callable which is deprecated without it spewing to the screen, just by
suppling the deprecation format string issued for it.

This is easier to use than callDeprecated in the common case.

CHeers,
Rob


-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apply-deprecated.patch
Type: text/x-patch
Size: 9345 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060906/323553e4/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060906/323553e4/attachment.pgp 


More information about the bazaar mailing list