[MERGE] clean assertion backtraces

Robert Collins robertc at robertcollins.net
Fri Mar 30 07:33:44 BST 2007


Mark bzrlib.tests as providing assertFOO helper functions by adding a
__unittest global attribute. (Robert Collins, Andrew Bennetts, Martin
Pool, Jonathan Lange)' 

This makes backtraces in tests be nicer by telling vim to go to the
failing line, not to the implementation of assertFOO.

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanassertions.patch
Type: text/x-patch
Size: 1655 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070330/4a2f4675/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070330/4a2f4675/attachment-0001.pgp 


More information about the bazaar mailing list