[rfc] [patch] small cleanups

John Arbash Meinel john at arbash-meinel.com
Wed Jan 11 22:19:48 GMT 2006


Denys Duchier wrote:
> John Arbash Meinel <john at arbash-meinel.com> writes:
> 
> 
>>Why can't you just do:
>>
>>self.assertRaises(BzrError, hc.get_sha1, 'a')
>>
>>I'm guessing you just didn't see how to pass parameters.
> 
> 
> you're right.  I just looked at the signature, not at the documentation for
> assertRaises. it said "callable" :-/
> 
> fixed as revno=1497 in my bzr.tests branch
> 
> Cheers,
> 
> --Denys

So I'm +1 on the test case.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060111/ece579ca/attachment.pgp 


More information about the bazaar mailing list