1 """Main entry point""" 2 3 import sys 4 if sys.argv[0].endswith("__main__.py"): 5 sys.argv[0] = "unittest2" 6 7 __unittest = True 8 9 from unittest2.main import main_ 10 main_() 11