From f7e62cf8adfb8ab6a6a870903defe8ff218a0383 Mon Sep 17 00:00:00 2001 From: Louie Lu Date: Thu, 20 Apr 2017 11:46:59 +0800 Subject: bpo-30078: Add an example of passing a path to unittest (#1178) --- Lib/unittest/main.py | 1 + 1 file changed, 1 insertion(+) 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 = """\ -- cgit v0.12