[issue10164] Add an assertBytesEqual to unittest and use it for bytes assertEqual
R. David Murray
report at bugs.python.org
Mon Nov 22 03:45:05 CET 2010
R. David Murray <rdmurray at bitdance.com> added the comment:
Agreed on the closing. The pre-diff processing function would be a great addition. For the record, I am currently satisfying my use case by doing this:
self.assertEqual(bstr1.split(b'\n'), bstr2.split(b'\n'))
which produces a very readable diff.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10164>
_______________________________________
More information about the Python-bugs-list
mailing list