Sha256: ff6b9a100d32001715b40d61bc4d613623b139edb1fdc3566427b83c331caae3

Contents?: true

Size: 472 Bytes

Versions: 3

Compression:

Stored size: 472 Bytes

Contents

"""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)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
LilyPond-Ruby-0.1.5.3 lilypond-2.24.1/lib/python3.10/unittest/__main__.py
LilyPond-Ruby-0.1.5.2 lilypond-2.24.1/lib/python3.10/unittest/__main__.py
LilyPond-Ruby-0.1.5 lilypond-2.24.1/lib/python3.10/unittest/__main__.py