From: Vinay Sajip Date: Sat, 3 Mar 2012 16:20:37 +0000 (+0000) Subject: Fixed problem with diagnostic output. X-Git-Tag: v3.3.0a1~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d263d185534a8c19b719f27f5dab757afbc9319e;p=python Fixed problem with diagnostic output. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index b239f58782..92e6994132 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -3682,7 +3682,8 @@ class TimedRotatingFileHandlerTest(BaseFileTest): print('The only matching files are: %s' % files, file=sys.stderr) for f in files: print('Contents of %s:' % f) - with open(f, 'r') as tf: + path = os.path.join(dn, f) + with open(path, 'r') as tf: print(tf.read()) self.assertTrue(found, msg=msg)