commit | f7e62cf8adfb8ab6a6a870903defe8ff218a0383 | [log] [tgz] |
---|---|---|
author | Louie Lu <me@louie.lu> | Thu Apr 20 11:46:59 2017 +0800 |
committer | Berker Peksag <berker.peksag@gmail.com> | Thu Apr 20 06:46:59 2017 +0300 |
tree | d6836ca8b82d44f1d1a35d51ac6122d7cb74b454 | |
parent | 11470b6dcdbc170779499a4a040b93c842a0d194 [diff] |
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 09fefe1..807604f 100644 --- a/Lib/unittest/main.py +++ b/Lib/unittest/main.py
@@ -14,6 +14,7 @@ %(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 = """\