[Python-checkins] cpython: Adjust comment
antoine.pitrou
python-checkins at python.org
Sat Sep 14 00:40:54 CEST 2013
http://hg.python.org/cpython/rev/3894e17e59c4
changeset: 85692:3894e17e59c4
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sat Sep 14 00:40:46 2013 +0200
summary:
Adjust comment
files:
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
--- a/Lib/unittest/test/testmock/__main__.py
+++ b/Lib/unittest/test/testmock/__main__.py
@@ -6,7 +6,7 @@
# 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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list