From a552ca6fd0179b3bda4138c8ea0f129898a81451 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Fri, 13 May 2011 12:16:04 +0100 Subject: Issue #12068: Fix appears to have worked; added more diagnostics for rare failures. --- Lib/test/test_logging.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index f78b366a..505ce6e 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) -- cgit v0.12