Home | Trees | Indices | Help |
|
---|
|
Utility functions used by the regression tests
(*.doctest
).
|
|||
Test Functions | |||
---|---|---|---|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Helper Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
This test function takes a string containing the contents of a module.
It writes the string contents to a file, imports the file as a module,
and uses build_doc to build documentation, and returns it as a
|
This test function takes a string containing the contents of a module.
It writes the string contents to a file, imports the file as a module,
and uses build_doc to build documentation, and pretty prints the
resulting ModuleDoc object. The |
This test function takes a string containing the contents of a module, and writes it to a file, uses `parse_docs` to parse it, and pretty prints the resulting ModuleDoc object. The `attribs` argument specifies which attributes of the `APIDoc`s should be displayed. The `show` argument, if specifies, gives the name of the object in the module that should be displayed (but the whole module will always be inspected; this just selects what to display). |
This test function takes a string containing the contents of a module.
It writes the string contents to a file, imports the file as a module,
and uses |
An end-to-end test for unicode encodings. This function takes a given string, writes it to a python file, and processes that file's documentation. It then generates HTML output from the documentation, extracts all docstrings from the generated HTML output, and displays them. (In order to extract & display all docstrings, it monkey-patches the HMTLwriter.docstring_to_html() method.) |
Convert the given parsed_docstring to HTML and print it. Ignore any other arguments. This function is used by testencoding to monkey-patch the HTMLWriter class's docstring_to_html() method. |
The following is a helper function, used to convert two-character surrogate sequences into single characters. This is needed because some systems create surrogates but others don't. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 13 23:50:24 2008 | http://epydoc.sourceforge.net |