summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-05-13 11:16:04 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-05-13 11:16:04 (GMT)
commita552ca6fd0179b3bda4138c8ea0f129898a81451 (patch)
treee9b43b5ef12a844af08367df214cd49459089131
parentdb3dd8a6cccc613addba0df7b4cd7145e903c27e (diff)
downloadcpython-a552ca6fd0179b3bda4138c8ea0f129898a81451.zip
cpython-a552ca6fd0179b3bda4138c8ea0f129898a81451.tar.gz
cpython-a552ca6fd0179b3bda4138c8ea0f129898a81451.tar.bz2
Issue #12068: Fix appears to have worked; added more diagnostics for rare failures.
-rw-r--r--Lib/test/test_logging.py1
1 files changed, 1 insertions, 0 deletions
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)