1"""Main entry point""" 2 3import sys 4if sys.argv[0].endswith("__main__.py"): 5 sys.argv[0] = "python -m unittest" 6 7__unittest = True 8 9from .main import main, TestProgram, USAGE_AS_MAIN 10TestProgram.USAGE = USAGE_AS_MAIN 11 12main(module=None) 13