Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../lib64/python3..../unittest
File: __main__.py
"""Main entry point"""
[0] Fix | Delete
[1] Fix | Delete
import sys
[2] Fix | Delete
if sys.argv[0].endswith("__main__.py"):
[3] Fix | Delete
import os.path
[4] Fix | Delete
# We change sys.argv[0] to make help message more useful
[5] Fix | Delete
# use executable without path, unquoted
[6] Fix | Delete
# (it's just a hint anyway)
[7] Fix | Delete
# (if you have spaces in your executable you get what you deserve!)
[8] Fix | Delete
executable = os.path.basename(sys.executable)
[9] Fix | Delete
sys.argv[0] = executable + " -m unittest"
[10] Fix | Delete
del os
[11] Fix | Delete
[12] Fix | Delete
__unittest = True
[13] Fix | Delete
[14] Fix | Delete
from .main import main
[15] Fix | Delete
[16] Fix | Delete
main(module=None)
[17] Fix | Delete
[18] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function