[Python-checkins] r86585 - python/branches/py3k/Lib/unittest/loader.py

michael.foord python-checkins at python.org
Sat Nov 20 18:22:21 CET 2010


Author: michael.foord
Date: Sat Nov 20 18:22:21 2010
New Revision: 86585

Log:
Improve unittest.TestLoader.discover docstring

Modified:
   python/branches/py3k/Lib/unittest/loader.py

Modified: python/branches/py3k/Lib/unittest/loader.py
==============================================================================
--- python/branches/py3k/Lib/unittest/loader.py	(original)
+++ python/branches/py3k/Lib/unittest/loader.py	Sat Nov 20 18:22:21 2010
@@ -147,9 +147,9 @@
 
     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


More information about the Python-checkins mailing list