summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Foord <fuzzyman@voidspace.org.uk>2010-11-20 17:22:21 (GMT)
committerMichael Foord <fuzzyman@voidspace.org.uk>2010-11-20 17:22:21 (GMT)
commit6bcfadec07e1ac901f7ea3777db623731c4e6f58 (patch)
tree6a45dfd8dc5666847c19abfa531473e377c7b05d
parent5c41787f13bbf26741ad2a7bee97d4d83fed0d43 (diff)
downloadcpython-6bcfadec07e1ac901f7ea3777db623731c4e6f58.zip
cpython-6bcfadec07e1ac901f7ea3777db623731c4e6f58.tar.gz
cpython-6bcfadec07e1ac901f7ea3777db623731c4e6f58.tar.bz2
Improve unittest.TestLoader.discover docstring
-rw-r--r--Lib/unittest/loader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/unittest/loader.py b/Lib/unittest/loader.py
index bff7b0a..afdff67 100644
--- a/Lib/unittest/loader.py
+++ b/Lib/unittest/loader.py
@@ -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