IT stuff
import sys,doctest import somemodule modules = (somemodule,) def _test(): verbose = "-v" in sys.argv for mod in modules: doctest.testmod(mod, verbose=verbose, report=0) doctest.master.summarize() if __name__ == "__main__": _test()
Post a Comment
No comments:
Post a Comment