X7ROOT File Manager
Current Path:
/lib64/python3.8/unittest
lib64
/
python3.8
/
unittest
/
??
..
??
__init__.py
(3.19 KB)
??
__main__.py
(472 B)
??
__pycache__
??
async_case.py
(5.67 KB)
??
case.py
(58.19 KB)
??
loader.py
(22.17 KB)
??
main.py
(10.97 KB)
??
mock.py
(96.01 KB)
??
result.py
(7.27 KB)
??
runner.py
(7.58 KB)
??
signals.py
(2.35 KB)
??
suite.py
(12.51 KB)
??
util.py
(5.09 KB)
Editing: __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)
Upload File
Create Folder