Message119360
After talking with Michael on #python-dev, I've revised the patch to make it a real assertBytesEqual method rather than a pretend-the-bytes-are-strings method. This version allows the byte strings to be split on an arbitrary byte string, which makes it more useful for getting diffs of structured binary data if that data has a convenient break point. And the default is no splitting, which is what assertEqual uses when comparing bytes.
One of the tests is failing, and it's late and I can't figure out where the extra space is coming from. Maybe someone else will check it out and spot the problem before I get back to it. |
|
Date |
User |
Action |
Args |
2010-10-22 02:38:43 | r.david.murray | set | recipients:
+ r.david.murray, michael.foord |
2010-10-22 02:38:43 | r.david.murray | set | messageid: <1287715123.38.0.87162557324.issue10164@psf.upfronthosting.co.za> |
2010-10-22 02:38:42 | r.david.murray | link | issue10164 messages |
2010-10-22 02:38:41 | r.david.murray | create | |
|