mirror of
https://github.com/python/cpython.git
synced 2024-12-24 01:05:10 +08:00
Fixed problem with diagnostic output.
This commit is contained in:
parent
0d3a003f24
commit
d263d18553
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user