]> granicus.if.org Git - python/commitdiff
Improve unittest.TestLoader.discover docstring
authorMichael Foord <fuzzyman@voidspace.org.uk>
Sat, 20 Nov 2010 17:22:21 +0000 (17:22 +0000)
committerMichael Foord <fuzzyman@voidspace.org.uk>
Sat, 20 Nov 2010 17:22:21 +0000 (17:22 +0000)
Lib/unittest/loader.py

index bff7b0af43ef7315c744716b8ea6fa893fb8240c..afdff671643728947cc2c7ea866009b81b6818b5 100644 (file)
@@ -147,9 +147,9 @@ class TestLoader(object):
 
     def discover(self, start_dir, pattern='test*.py', top_level_dir=None):
         """Find and return all test modules from the specified start
-        directory, recursing into subdirectories to find them. Only test files
-        that match the pattern will be loaded. (Using shell style pattern
-        matching.)
+        directory, recursing into subdirectories to find them and return all
+        tests found within them. Only test files that match the pattern will
+        be loaded. (Using shell style pattern matching.)
 
         All test modules must be importable from the top level of the project.
         If the start directory is not the top level directory then the top