doctest in Pythonwin

Terry Reedy tjreedy at
Sat Aug 10 01:53:20 CEST 2002

Running the following boilerplate from the library docs

def _test():
    import doctest, doctesttest

if __name__ == '__main__':

gives the following output instead of the nothing promised by the docs

>>> *** Tester.merge: 'doctesttest' in both testers; summing outcomes.

For one file, I also got similar lines for each function, but have not
yet discerned the rule.  Is this an unavoidable peculiarity of running
doctest in this environment?

Terry J. Reedy

More information about the Python-list mailing list