Commit 652d7202 authored by Vinay Sajip's avatar Vinay Sajip

Fixed problem with diagnostic output.

parent bd44460f
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment