File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1489,11 +1489,11 @@ Loading and running tests
14891489
14901490 .. method :: discover(start_dir, pattern='test*.py', top_level_dir=None)
14911491
1492- Find and return all test modules from the specified start directory,
1493- recursing into subdirectories to find them. Only test files that match
1494- *pattern * will be loaded. (Using shell style pattern matching.) Only
1495- module names that are importable (i.e. are valid Python identifiers) will
1496- be loaded.
1492+ Find all the test modules by recursing into subdirectories from the
1493+ specified start directory, and return a TestSuite object containing them.
1494+ Only test files that match *pattern * will be loaded. (Using shell style
1495+ pattern matching.) Only module names that are importable (i.e. are valid
1496+ Python identifiers) will be loaded.
14971497
14981498 All test modules must be importable from the top level of the project. If
14991499 the start directory is not the top level directory then the top level
You can’t perform that action at this time.
0 commit comments