[Patches] [ python-Patches-668500 ] doctest handles comments incorrectly

SourceForge.net noreply@sourceforge.net
Wed, 15 Jan 2003 18:45:21 -0800


Patches item #668500, was opened at 2003-01-15 09:39
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=668500&group_id=5470

Category: Library (Lib)
Group: Python 2.2.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Alexander Schmolck (aschmolck)
Assigned to: Tim Peters (tim_one)
Summary: doctest handles comments incorrectly

Initial Comment:
> >    import doctest, test
> >    def aTest():
> >        r""">>> # A comment
> >            ... print 'This is incorrectly ignored
by doctest'
> >            This output here really doesn't matter
either... (but SHOULD)
> >            >>>
> >            """

the patch fixes that and passes the original doctest
tests. (test_doctest and doctest.py itself)


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

>Comment By: Tim Peters (tim_one)
Date: 2003-01-15 21:45

Message:
Logged In: YES 
user_id=31435

Alexander, you need to check the "Check to Upload and 
Attach a File" box when trying to attach a file.  This is a 
SourceForge annoyance we have no control over.  Please 
try again!

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

Comment By: Raymond Hettinger (rhettinger)
Date: 2003-01-15 20:56

Message:
Logged In: YES 
user_id=80475

The file attachment didn't make it.

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

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