Fix logging when running tests with twisted installed.

This commit is contained in:
Ben Darnell 2015-12-08 00:14:38 -05:00
parent 43e23f9777
commit 35448d870c
1 changed files with 1 additions and 1 deletions

View File

@ -686,7 +686,7 @@ if have_twisted:
except ImportError:
pass
else:
globalLogBeginner.beginLoggingTo([])
globalLogBeginner.beginLoggingTo([], redirectStandardIO=False)
if have_twisted:
class LayeredTwistedIOLoop(TwistedIOLoop):