From: Berker Peksag Date: Thu, 20 Apr 2017 04:37:18 +0000 (+0300) Subject: bpo-30078: Add an example of passing a path to unittest (GH-1178) X-Git-Tag: v3.5.4rc1~201 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fb0f801d73b1e2794888772d016d978eccf52a6;p=thirdparty%2FPython%2Fcpython.git bpo-30078: Add an example of passing a path to unittest (GH-1178) (cherry picked from commit f7e62cf8adfb8ab6a6a870903defe8ff218a0383) --- diff --git a/Lib/unittest/main.py b/Lib/unittest/main.py index 09fefe11649b..807604f08dfd 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 = """\