mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 20:19:17 +08:00
13 lines
238 B
Python
13 lines
238 B
Python
|
"""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)
|