summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_logging.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index e71a0fe..b239f58 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -3680,6 +3680,10 @@ class TimedRotatingFileHandlerTest(BaseFileTest):
files = [f for f in os.listdir(dn) if f.startswith(fn)]
print('Test time: %s' % now.strftime("%Y-%m-%d %H-%M-%S"), file=sys.stderr)
print('The only matching files are: %s' % files, file=sys.stderr)
+ for f in files:
+ print('Contents of %s:' % f)
+ with open(f, 'r') as tf:
+ print(tf.read())
self.assertTrue(found, msg=msg)
def test_invalid(self):