From: Vinay Sajip Date: Fri, 13 May 2011 11:16:04 +0000 (+0100) Subject: Issue #12068: Fix appears to have worked; added more diagnostics for rare failures. X-Git-Tag: v3.3.0a1~2289 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a552ca6fd0179b3bda4138c8ea0f129898a81451;p=python Issue #12068: Fix appears to have worked; added more diagnostics for rare failures. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index f78b366a79..505ce6e3b6 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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)