mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
committed by
Tim Abbott
parent
e86539649c
commit
fd007c4554
@@ -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:
|
||||
|
Reference in New Issue
Block a user