From: Berker Peksag Date: Thu, 20 Apr 2017 04:36:57 +0000 (+0300) Subject: bpo-30078: Add an example of passing a path to unittest (GH-1178) X-Git-Tag: v3.6.2rc1~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=596e714d79a22d1d53f26ae1a579dcd43f15865a;p=python 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 09fefe1164..807604f08d 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 = """\