summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/__main__.py
blob: 58e646d78590134ebeb0d1e5f500e9a7d29a8689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"""Main entry point"""

import sys
if sys.argv[0].endswith("__main__.py"):
    sys.argv[0] = "unittest"

__unittest = True

from .main import main, TestProgram, USAGE_AS_MAIN
TestProgram.USAGE = USAGE_AS_MAIN

main(module=None)