From: Louie Lu Date: Thu, 20 Apr 2017 03:46:59 +0000 (+0800) Subject: bpo-30078: Add an example of passing a path to unittest (#1178) X-Git-Tag: v3.7.0a1~939 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7e62cf8adfb8ab6a6a870903defe8ff218a0383;p=python bpo-30078: Add an example of passing a path to unittest (#1178) --- 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 = """\