diff options
Diffstat (limited to 'Lib/unittest/__main__.py')
-rw-r--r-- | Lib/unittest/__main__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/unittest/__main__.py b/Lib/unittest/__main__.py new file mode 100644 index 0000000..5bbda1c --- /dev/null +++ b/Lib/unittest/__main__.py @@ -0,0 +1,8 @@ +"""Main entry point""" + +import sys +if sys.argv[0].endswith("__main__.py"): + sys.argv[0] = "unittest" + +from .main import main +main(module=None) |