[issue9017] doctest option flag to enable/disable some chunk of doctests?

2012-10-27 Thread Ezio Melotti
Ezio Melotti added the comment: I'm going to close this as rejected, because the feature doesn't seem too useful, there are available workarounds, and the addition of the ENABLE/DISABLE flags might add confusions. -- nosy: +ezio.melotti resolution: -> rejected stage: needs patch -> co

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-12-22 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo stage: unit test needed -> needs patch versions: +Python 3.3 -Python 3.2 ___ Python tracker ___

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: 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 t

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-10-06 Thread harobed
harobed added the comment: Ok, option +SKIP and -SKIP work well, look test.py file I need maybe improve the documentation with an +SKIP and -SKIP example ? Documentation section about SKIP option is here : http://docs.python.org/library/doctest.html?highlight=doctest.skip#doctest.SKIP Regard

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-10-06 Thread Georg Brandl
Georg Brandl added the comment: AFAIR +SKIP always only refers to one Example anyway. -- nosy: +georg.brandl ___ Python tracker ___ __

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I'm not a great doctest user, but did you try to disable the SKIP directive at the end? something like "doctest: -SKIP" -- ___ Python tracker ___

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-10-06 Thread harobed
harobed added the comment: doctest.SKIP is like #doctest: +DISABLE but he don't have #doctest: +ENABLE feature. doctest.SKIP disable all the bottom of test, DISABLE/ENABLE can SKIP only one part of test. Regards, Stephane -- ___ Python tracker <

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-10-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: There is already doctest.SKIP. Isn't it already what you want? -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-06-17 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Library (Lib) -Tests stage: -> unit test needed title: What do you think about an Option Flags to enable/disable some chunk of doctest file ? -> doctest option flag to enable/disable some chunk of doctests? type: -> feature request versions: +