Skip to content

Commit f7e62cf

Browse files
louisomberkerpeksag
authored andcommitted
bpo-30078: Add an example of passing a path to unittest (#1178)
1 parent 11470b6 commit f7e62cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/unittest/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
%(prog)s test_module - run tests from test_module
1515
%(prog)s module.TestClass - run tests from module.TestClass
1616
%(prog)s module.Class.test_method - run specified test method
17+
%(prog)s path/to/test_file.py - run tests from test_file.py
1718
"""
1819

1920
MODULE_EXAMPLES = """\

0 commit comments

Comments
 (0)