This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, georg.brandl, harobed
Date 2010-10-06.11:44:53
SpamBayes Score 0.0023655004
Marked as misclassified No
Message-id <1286365495.52.0.355893905184.issue9017@psf.upfronthosting.co.za>
In-reply-to
Content
harobed, the -SKIP solution does not work. Doctest directives only apply to a single line.

After a quick search, I found two workarounds there:
http://stackoverflow.com/questions/1809037/python-doctest-skip-entire-block
- Replace >>> with >>
or
- split the docstring, and add something like "__dont_test__ = " in front of the second part; the string becomes part of a statement and won't be parsed.
History
Date User Action Args
2010-10-06 11:44:55amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, georg.brandl, harobed
2010-10-06 11:44:55amaury.forgeotdarcsetmessageid: <1286365495.52.0.355893905184.issue9017@psf.upfronthosting.co.za>
2010-10-06 11:44:54amaury.forgeotdarclinkissue9017 messages
2010-10-06 11:44:53amaury.forgeotdarccreate