Issue #12068: Fix appears to have worked; added more diagnostics for rare failures.
This commit is contained in:
parent
db3dd8a6cc
commit
a552ca6fd0
|
@ -3528,6 +3528,7 @@ class TimedRotatingFileHandlerTest(BaseFileTest):
|
|||
#print additional diagnostics
|
||||
dn = os.path.dirname(self.fn)
|
||||
files = [f for f in os.listdir(dn) if f.startswith(self.fn)]
|
||||
print('Test time: %s' % now.strftime("%Y-%m-%d %H-%M-%S"))
|
||||
print('The only matching files are: %s' % files)
|
||||
self.assertTrue(found, msg=msg)
|
||||
|
||||
|
|
Loading…
Reference in New Issue