]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/__main__.py
AppPkg/Applications/Python: Add Python 2.7.2 sources since the release of Python...
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / unittest / __main__.py
CommitLineData
4710c53d 1"""Main entry point"""\r
2\r
3import sys\r
4if sys.argv[0].endswith("__main__.py"):\r
5 sys.argv[0] = "python -m unittest"\r
6\r
7__unittest = True\r
8\r
9from .main import main, TestProgram, USAGE_AS_MAIN\r
10TestProgram.USAGE = USAGE_AS_MAIN\r
11\r
12main(module=None)\r