Ethan Furman added the comment: Right, I had copied that code from test_pydoc which is where 'print_diffs' is defined.
A comment there says to use the now-included functionality in unittest, and some digging in the docs revealed that assertEqual uses diffs by default. ---------- assignee: -> ethan.furman stage: -> patch review type: enhancement -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21773> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com