[ python-Bugs-1508564 ] "...." (four dots) confuses doctest's ellipsis matching

SourceForge.net noreply at sourceforge.net
Mon Jun 19 13:42:28 CEST 2006


Bugs item #1508564, was opened at 2006-06-19 21:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1508564&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Bennetts (spiv)
Assigned to: Nobody/Anonymous (nobody)
Summary: "...." (four dots) confuses doctest's ellipsis matching

Initial Comment:
Consider this snippet:

from doctest import OutputChecker, ELLIPSIS
print OutputChecker().check_output('AAA....',
'AAA.BBB', ELLIPSIS)

I expect that to print True, but instead it prints False.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1508564&group_id=5470


More information about the Python-bugs-list mailing list