From a19b1a664ff215c5539349b011f07a0a9599f32d Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 14 Sep 2013 00:40:46 +0200 Subject: Adjust comment --- Lib/unittest/test/testmock/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12