Message118063
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. |
|
Date |
User |
Action |
Args |
2010-10-06 11:44:55 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, georg.brandl, harobed |
2010-10-06 11:44:55 | amaury.forgeotdarc | set | messageid: <1286365495.52.0.355893905184.issue9017@psf.upfronthosting.co.za> |
2010-10-06 11:44:54 | amaury.forgeotdarc | link | issue9017 messages |
2010-10-06 11:44:53 | amaury.forgeotdarc | create | |
|