[Patches] [ python-Patches-668500 ] doctest handles comments incorrectly
SourceForge.net
noreply@sourceforge.net
Wed, 15 Jan 2003 06:56:41 -0800
Patches item #668500, was opened at 2003-01-15 14: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)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=668500&group_id=5470