HEX
Server: Apache/2.4.57 (Debian)
System: Linux 8693ab19cb62 5.14.0-312.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 11 16:26:43 UTC 2023 x86_64
User: www-data (33)
PHP: 8.2.12
Disabled: NONE
Upload Files
File: //lib/python3.11/unittest/__main__.py
"""Main entry point"""

import sys
if sys.argv[0].endswith("__main__.py"):
    import os.path
    # We change sys.argv[0] to make help message more useful
    # use executable without path, unquoted
    # (it's just a hint anyway)
    # (if you have spaces in your executable you get what you deserve!)
    executable = os.path.basename(sys.executable)
    sys.argv[0] = executable + " -m unittest"
    del os

__unittest = True

from .main import main

main(module=None)