mirror of https://github.com/python/cpython
Issue #12151: test_logging writes debug messages to stderr, not stdout
stdout are lost in buildbots
This commit is contained in:
parent
e5f9cbdaae
commit
949c890e48
|
@ -3594,8 +3594,8 @@ class TimedRotatingFileHandlerTest(BaseFileTest):
|
|||
#print additional diagnostics
|
||||
dn, fn = os.path.split(self.fn)
|
||||
files = [f for f in os.listdir(dn) if f.startswith(fn)]
|
||||
print('Test time: %s' % now.strftime("%Y-%m-%d %H-%M-%S"))
|
||||
print('The only matching files are: %s' % files)
|
||||
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)
|
||||
self.assertTrue(found, msg=msg)
|
||||
|
||||
def test_invalid(self):
|
||||
|
|
Loading…
Reference in New Issue