__test__ = None is not supported since Python 2.4.
from module m (or the current module if m is not supplied), starting
with m.__doc__.
- Also test examples reachable from dict m.__test__ if it exists and is
- not None. m.__test__ maps names to functions, classes and strings;
+ Also test examples reachable from dict m.__test__ if it exists.
+ m.__test__ maps names to functions, classes and strings;
function and class docstrings are tested even if the name is private;
strings are tested directly, as if they were docstrings.