summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorLouie Lu <me@louie.lu>2017-04-20 03:46:59 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-04-20 03:46:59 (GMT)
commitf7e62cf8adfb8ab6a6a870903defe8ff218a0383 (patch)
treed6836ca8b82d44f1d1a35d51ac6122d7cb74b454 /Lib
parent11470b6dcdbc170779499a4a040b93c842a0d194 (diff)
downloadcpython-f7e62cf8adfb8ab6a6a870903defe8ff218a0383.zip
cpython-f7e62cf8adfb8ab6a6a870903defe8ff218a0383.tar.gz
cpython-f7e62cf8adfb8ab6a6a870903defe8ff218a0383.tar.bz2
bpo-30078: Add an example of passing a path to unittest (#1178)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/unittest/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/unittest/main.py b/Lib/unittest/main.py
index 09fefe1..807604f 100644
--- a/Lib/unittest/main.py
+++ b/Lib/unittest/main.py
@@ -14,6 +14,7 @@ Examples:
%(prog)s test_module - run tests from test_module
%(prog)s module.TestClass - run tests from module.TestClass
%(prog)s module.Class.test_method - run specified test method
+ %(prog)s path/to/test_file.py - run tests from test_file.py
"""
MODULE_EXAMPLES = """\