Message120105
David - would you get a good approximation of what you want simply with:
self.assertEqual(ascii(first), ascii(second))
(This actually returns "b'first'" "b'second'" so you may want a convenience function that chops the leading and trailing b'/')
As ascii returns unicode it would automatically delegate to assertMultilineEqual.
The obvious way to hook this up by default for assertEqual is having the split-character as '\n'. This would not be meaningful for using assertEqual to compare bytes that *aren't* text. |
|
Date |
User |
Action |
Args |
2010-11-01 03:13:21 | michael.foord | set | recipients:
+ michael.foord, rhettinger, r.david.murray |
2010-11-01 03:13:21 | michael.foord | set | messageid: <1288581201.09.0.360156829262.issue10164@psf.upfronthosting.co.za> |
2010-11-01 03:13:19 | michael.foord | link | issue10164 messages |
2010-11-01 03:13:18 | michael.foord | create | |
|