@@ -193,7 +193,7 @@ def _process_doc(self, doctests, doc, namespace, start):
193
193
194
194
- ``namespace`` -- a dictionary or
195
195
:class:`sage.doctest.util.RecordingDict`, used in the
196
- creation of new :class:`doctest.DocTest`s.
196
+ creation of new :class:`doctest.DocTest` s.
197
197
198
198
- ``start`` -- an integer, giving the line number of the start
199
199
of this docstring in the larger file.
@@ -239,7 +239,7 @@ def _create_doctests(self, namespace, tab_okay=None):
239
239
240
240
- ``namespace`` -- a dictionary or
241
241
:class:`sage.doctest.util.RecordingDict`, used in the
242
- creation of new :class:`doctest.DocTest`s.
242
+ creation of new :class:`doctest.DocTest` s.
243
243
244
244
- ``tab_okay`` -- whether tabs are allowed in this source.
245
245
@@ -418,7 +418,7 @@ def __init__(self, basename, source, options, printpath, lineno_shift=0):
418
418
DocTestSource .__init__ (self , options )
419
419
420
420
def __iter__ (self ):
421
- """
421
+ r """
422
422
Iterating over this source yields pairs ``(lineno, line)``.
423
423
424
424
EXAMPLES::
@@ -755,21 +755,20 @@ def create_doctests(self, namespace):
755
755
return self ._create_doctests (namespace )
756
756
757
757
def _test_enough_doctests (self , check_extras = True , verbose = True ):
758
- """
758
+ r """
759
759
This function checks to see that the doctests are not getting
760
760
unexpectedly skipped. It uses a different (and simpler) code
761
761
path than the doctest creation functions, so there are a few
762
762
files in Sage that it counts incorrectly.
763
763
764
764
INPUT:
765
765
766
- - ``check_extras`` -- bool (default True), whether to check if
767
- doctests are created that don't correspond to either a
768
- ``sage: `` or a ``>>> `` prompt.
766
+ - ``check_extras`` -- bool (default `` True`` ), whether to check if
767
+ doctests are created that do not correspond to either a ``sage: ``
768
+ or a ``>>> `` prompt
769
769
770
- - ``verbose`` -- bool (default True), whether to print
771
- offending line numbers when there are missing or extra
772
- tests.
770
+ - ``verbose`` -- bool (default ``True``), whether to print
771
+ offending line numbers when there are missing or extra tests
773
772
774
773
TESTS::
775
774
0 commit comments