Make tools/test-run-dev python3 compatible.

Use universal_newlines=True with subprocess.check_output in
tools/test-run-dev.
This commit is contained in:
Eklavya Sharma
2016-07-19 20:28:56 +05:30
committed by Tim Abbott
parent e86539649c
commit fd007c4554

View File

@@ -44,7 +44,7 @@ def test_nagios(nagios_logfile):
'--nagios',
'--site=127.0.0.1:9991',
]
result = subprocess.check_output(args, env=my_env,
result = subprocess.check_output(args, env=my_env, universal_newlines=True,
stderr=nagios_logfile)
if 'success' in result: