summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/main.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2017-04-20 04:36:57 (GMT)
committerGitHub <noreply@github.com>2017-04-20 04:36:57 (GMT)
commit596e714d79a22d1d53f26ae1a579dcd43f15865a (patch)
tree6b31fd733e536f09fe6929af64f6500f68928c68 /Lib/unittest/main.py
parent5fb4bf91e78e128a22b5b58da179f09d0b307f2d (diff)
downloadcpython-596e714d79a22d1d53f26ae1a579dcd43f15865a.zip
cpython-596e714d79a22d1d53f26ae1a579dcd43f15865a.tar.gz
cpython-596e714d79a22d1d53f26ae1a579dcd43f15865a.tar.bz2
bpo-30078: Add an example of passing a path to unittest (GH-1178)
(cherry picked from commit f7e62cf8adfb8ab6a6a870903defe8ff218a0383)
Diffstat (limited to 'Lib/unittest/main.py')
-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 = """\