diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-09-13 22:40:46 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-09-13 22:40:46 (GMT) |
commit | a19b1a664ff215c5539349b011f07a0a9599f32d (patch) | |
tree | 1f0dc5b7ab151dcf879a9a49204c001c4e7fd82d /Lib/unittest/test/testmock/__main__.py | |
parent | 4b3c58c8a0b0c041854e80e9a01aeb5d77872a05 (diff) | |
download | cpython-a19b1a664ff215c5539349b011f07a0a9599f32d.zip cpython-a19b1a664ff215c5539349b011f07a0a9599f32d.tar.gz cpython-a19b1a664ff215c5539349b011f07a0a9599f32d.tar.bz2 |
Adjust comment
Diffstat (limited to 'Lib/unittest/test/testmock/__main__.py')
-rw-r--r-- | Lib/unittest/test/testmock/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/test/testmock/__main__.py b/Lib/unittest/test/testmock/__main__.py index 24e1933..45c633a 100644 --- a/Lib/unittest/test/testmock/__main__.py +++ b/Lib/unittest/test/testmock/__main__.py @@ -6,7 +6,7 @@ def load_tests(loader, standard_tests, pattern): # top level directory cached on loader instance this_dir = os.path.dirname(__file__) pattern = pattern or "test*.py" - # We are inside unittest.test, so the top-level is two notches up + # We are inside unittest.test.testmock, so the top-level is three notches up top_level_dir = os.path.dirname(os.path.dirname(os.path.dirname(this_dir))) package_tests = loader.discover(start_dir=this_dir, pattern=pattern, top_level_dir=top_level_dir) |