PowerToys/PythonHome/Lib/unittest/__main__.py

13 lines
238 B
Python
Raw Normal View History

2014-07-10 23:57:08 +08:00
"""Main entry point"""
import sys
if sys.argv[0].endswith("__main__.py"):
sys.argv[0] = "python -m unittest"
__unittest = True
from .main import main, TestProgram, USAGE_AS_MAIN
TestProgram.USAGE = USAGE_AS_MAIN
main(module=None)