File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1624,11 +1624,11 @@ Loading and running tests
16241624
16251625 .. method :: discover(start_dir, pattern='test*.py', top_level_dir=None)
16261626
1627- Find and return all test modules from the specified start directory,
1628- recursing into subdirectories to find them. Only test files that match
1629- *pattern * will be loaded. (Using shell style pattern matching.) Only
1630- module names that are importable (i.e. are valid Python identifiers) will
1631- be loaded.
1627+ Find all the test modules by recursing into subdirectories from the
1628+ specified start directory, and return a TestSuite object containing them.
1629+ Only test files that match *pattern * will be loaded. (Using shell style
1630+ pattern matching.) Only module names that are importable (i.e. are valid
1631+ Python identifiers) will be loaded.
16321632
16331633 All test modules must be importable from the top level of the project. If
16341634 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