summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/__main__.py
diff options
context:
space:
mode:
authorMichael Foord <fuzzyman@voidspace.org.uk>2010-05-10 20:23:58 (GMT)
committerMichael Foord <fuzzyman@voidspace.org.uk>2010-05-10 20:23:58 (GMT)
commitf707aa7f8b8540439b2444edd1028665317a0466 (patch)
tree5676c36a275bda43068d45cbbc33d512c1e38ffd /Lib/unittest/__main__.py
parent85eacea31e508666db1ce29827308e98fba1bc21 (diff)
downloadcpython-f707aa7f8b8540439b2444edd1028665317a0466.zip
cpython-f707aa7f8b8540439b2444edd1028665317a0466.tar.gz
cpython-f707aa7f8b8540439b2444edd1028665317a0466.tar.bz2
Merged revisions 81055 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81055 | michael.foord | 2010-05-10 21:21:16 +0100 (Mon, 10 May 2010) | 1 line Improving help message for python -m unittest. Issue 8303. ........
Diffstat (limited to 'Lib/unittest/__main__.py')
-rw-r--r--Lib/unittest/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/__main__.py b/Lib/unittest/__main__.py
index 58e646d..7320050 100644
--- a/Lib/unittest/__main__.py
+++ b/Lib/unittest/__main__.py
@@ -2,7 +2,7 @@
import sys
if sys.argv[0].endswith("__main__.py"):
- sys.argv[0] = "unittest"
+ sys.argv[0] = "python -m unittest"
__unittest = True