Raymond Hettinger added the comment:

> doctest should be changed (or have an option) to understand 
> object equality rather than exact text output.

Sorry, but that would be at odds with the fundamental design of doctest which 
is principally designed to test documentation in the form of docstrings (which, 
it goes without saying actually *are* strings).

Try using another tool for the job.  The unittest module is well suited for 
tests that need to understand object equality.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3332>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to