cpython/Lib/unittest/__main__.py

9 lines
146 B
Python
Raw Normal View History

2009-07-19 17:18:21 -03:00
"""Main entry point"""
import sys
if sys.argv[0].endswith("__main__.py"):
sys.argv[0] = "unittest"
from .main import main
main(module=None)