X7ROOT File Manager
Current Path:
/opt/alt/python313/lib64/python3.13/unittest
opt
/
alt
/
python313
/
lib64
/
python3.13
/
unittest
/
??
..
??
__init__.py
(3.15 KB)
??
__main__.py
(472 B)
??
__pycache__
??
_log.py
(2.68 KB)
??
async_case.py
(5.5 KB)
??
case.py
(57 KB)
??
loader.py
(18.89 KB)
??
main.py
(11.36 KB)
??
mock.py
(108.32 KB)
??
result.py
(8.92 KB)
??
runner.py
(10.13 KB)
??
signals.py
(2.35 KB)
??
suite.py
(13.2 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