"""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, TestProgram main(module=None)
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 3.1 KB | 0644 |
|
__main__.py | File | 485 B | 0644 |
|
case.py | File | 56.15 KB | 0644 |
|
loader.py | File | 21.7 KB | 0644 |
|
main.py | File | 10.3 KB | 0644 |
|
mock.py | File | 77.98 KB | 0644 |
|
result.py | File | 7.27 KB | 0644 |
|
runner.py | File | 7.57 KB | 0644 |
|
signals.py | File | 2.35 KB | 0644 |
|
suite.py | File | 10.23 KB | 0644 |
|
util.py | File | 5.31 KB | 0644 |
|