"""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)
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 3.19 KB | 0644 |
|
__main__.py | File | 472 B | 0644 |
|
async_case.py | File | 5.67 KB | 0644 |
|
case.py | File | 58.19 KB | 0644 |
|
loader.py | File | 22.17 KB | 0644 |
|
main.py | File | 10.97 KB | 0644 |
|
mock.py | File | 96.01 KB | 0644 |
|
result.py | File | 7.27 KB | 0644 |
|
runner.py | File | 7.58 KB | 0644 |
|
signals.py | File | 2.35 KB | 0644 |
|
suite.py | File | 12.51 KB | 0644 |
|
util.py | File | 5.09 KB | 0644 |
|