diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py index fc6fdf83d7d..f11bad6c515 100644 --- a/Lib/test/test_compiler.py +++ b/Lib/test/test_compiler.py @@ -18,7 +18,10 @@ class CompilerTest(unittest.TestCase): for path in os.listdir(dir): if not path.endswith(".py"): continue - f = open(os.path.join(dir, path), "r") + fpath = os.path.join(dir, path) + if test.test_support.verbose: + print "compiling", fpath + f = open(fpath) buf = f.read() f.close() compiler.compile(buf, path, "exec")