Message170441
Currently, when trying to parse the *.rst files in the Doc/ folder (i.e. not actually running them but simply generating unittest.TestCase instances from them by passing them to doctest.DocFileSuite()), five files yield errors.
This issue is to make it so that all of the *.rst files in our Doc/ folder are at least parseable by doctest without error.
I will submit a patch.
Below are the errors that currently occur:
(1) test fdoc:library/ctypes.rst crashed -- Traceback (most recent call last):
...
ValueError: line 55 of the doctest for ctypes.rst has an invalid option: '+WINDOWS'
(2) test fdoc:library/doctest.rst crashed -- Traceback (most recent call last):
...
ValueError: line 1592 of the docstring for doctest.rst has inconsistent leading whitespace: ' """))'
(3) test fdoc:library/multiprocessing.rst crashed -- Traceback (most recent call last):
...
ValueError: line 1016 of the docstring for multiprocessing.rst lacks blank after >>>: '>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'
(4) test fdoc:whatsnew/2.4.rst crashed -- Traceback (most recent call last):
...
ValueError: line 1422 of the docstring for 2.4.rst lacks blank after >>>: ' >>>"""'
(5) test fdoc:whatsnew/2.7.rst crashed -- Traceback (most recent call last):
...
ValueError: line 1531 of the docstring for 2.7.rst lacks blank after .: ' ...' |
|
Date |
User |
Action |
Args |
2012-09-13 13:41:38 | chris.jerdonek | set | recipients:
+ chris.jerdonek, docs@python |
2012-09-13 13:41:38 | chris.jerdonek | set | messageid: <1347543698.43.0.179468389771.issue15939@psf.upfronthosting.co.za> |
2012-09-13 13:41:34 | chris.jerdonek | link | issue15939 messages |
2012-09-13 13:41:34 | chris.jerdonek | create | |
|