Previous: 5.2.4 What About Exceptions? Up: 5.2 doctest Next: 5.2.6 How are Docstring

5.2.5 Advanced Usage

testmod() actually creates a local instance of class Tester, runs appropriate methods of that class, and merges the results into global Tester instance master.

You can create your own instances of Tester, and so build your own policies, or even run methods of master directly. See Tester.__doc__ for details.


Previous: 5.2.4 What About Exceptions? Up: 5.2 doctest Next: 5.2.6 How are Docstring
Release 2.2.3, documentation updated on 30 May 2003.
See About this document... for information on suggesting changes.

AltStyle によって変換されたページ (->オリジナル) /