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 harobed
Recipients georg.brandl, harobed
Date 2009-03-29.21:54:27
SpamBayes Score 4.7977067e-11
Marked as misclassified No
Message-id <1238363669.79.0.212822428061.issue5598@psf.upfronthosting.co.za>
In-reply-to
Content
This is DocFileSuite function source code
(http://svn.python.org/view/python/trunk/Lib/doctest.py) :

::

    def DocFileSuite(*paths, **kw):
        """A unittest suite for one or more doctest files.

        The path to each doctest file is given as a string; the
        interpretation of that string depends on the keyword argument
        "module_relative".

        A number of options may be provided as keyword arguments:

This is DocFileSuite documentation
(http://svn.python.org/view/python/trunk/Doc/library/doctest.rst) :

::

    .. function:: DocFileSuite([module_relative][, package][, setUp][,
tearDown][, globs][, optionflags][, parser][, encoding])

       Convert doctest tests from one or more text files to a
       :class:`unittest.TestSuite`.

       The returned :class:`unittest.TestSuite` is to be run by the
unittest framework
       and runs the interactive examples in each file.  If an example in
any file
       fails, then the synthesized unit test fails, and a
:exc:`failureException`
       exception is raised showing the name of the file containing the
test and a
       (sometimes approximate) line number.

       Pass one or more paths (as strings) to text files to be examined.


I think "paths" argument missing in this documentation.

Regards,
Stephane
History
Date User Action Args
2009-03-29 21:54:29harobedsetrecipients: + harobed, georg.brandl
2009-03-29 21:54:29harobedsetmessageid: <1238363669.79.0.212822428061.issue5598@psf.upfronthosting.co.za>
2009-03-29 21:54:28harobedlinkissue5598 messages
2009-03-29 21:54:27harobedcreate