[rfc] [patch] small cleanups
Denys Duchier
duchier at ps.uni-sb.de
Wed Jan 11 21:53:51 GMT 2006
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
More information about the bazaar
mailing list