cpython/Lib/unittest/__main__.py

12 lines
166 B
Python

"""Main entry point"""
import sys
if sys.argv[0].endswith("__main__.py"):
sys.argv[0] = "unittest"
__unittest = True
from .main import main
main(module=None)