[Python-checkins] cpython: Issue #12068: Fix appears to have worked; added more diagnostics for rare

vinay.sajip python-checkins at python.org
Fri May 13 13:16:10 CEST 2011


http://hg.python.org/cpython/rev/660a4a6dc2cd
changeset:   70075:660a4a6dc2cd
user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
date:        Fri May 13 12:16:04 2011 +0100
summary:
  Issue #12068: Fix appears to have worked; added more diagnostics for rare failures.

files:
  Lib/test/test_logging.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -3528,6 +3528,7 @@
             #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)
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list