Re: [PATCH] Improve svn_checksum_t bindings in SWIG
From: Daniel Shahaf <danielsh_at_elego.de>
Date: Tue, 11 Dec 2012 20:32:40 +0200
Shivani Poddar wrote on Tue, Dec 11, 2012 at 23:49:56 +0530:
You haven't fixed the log message as per my original review.
> Index: subversion/bindings/swig/python/tests/checksum.py
assertIsInstance() would be more appropriate, but that's not critical.
> + self.assertEqual(len(check_val)%LENGTH,0,"Length of digest does not match kind")
Why module? == 2*LENGTH is fine. (Two hexdigits per byte.)
> + self.assertEqual(int(check_val),0,"Value of initialized digest is not 0")
Gratuitous whitespace change.
Anyway, I'll commit the patch in a few minutes.
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.