[issue21773] Fix a NameError in test_enum

Ethan Furman report at bugs.python.org
Mon Jun 16 20:33:01 CEST 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue21773>
_______________________________________


More information about the Python-bugs-list mailing list