SM0 She11
Path:
/
/
usr
/
lib64
/
python3.6
/
unittest
Full Path (server): /usr/lib64/python3.6/unittest
Create Fil3
Upl04d Fil3
📄 __init__.py
[E]
[D]
[R]
📄 __main__.py
[E]
[D]
[R]
📁 __pycache__
Open
[D]
[R]
📄 case.py
[E]
[D]
[R]
📄 loader.py
[E]
[D]
[R]
📄 main.py
[E]
[D]
[R]
📄 mock.py
[E]
[D]
[R]
📄 result.py
[E]
[D]
[R]
📄 runner.py
[E]
[D]
[R]
📄 signals.py
[E]
[D]
[R]
📄 suite.py
[E]
[D]
[R]
📄 util.py
[E]
[D]
[R]
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, TestProgram main(module=None)
Save