diff --git a/tests/test_shells/run_script.py b/tests/test_shells/run_script.py index f9b9248a..6c2b7ae6 100755 --- a/tests/test_shells/run_script.py +++ b/tests/test_shells/run_script.py @@ -98,7 +98,7 @@ def main(): child.wait() - with open(full_log_file_name, 'w') as LF: + with open(full_log_file_name, 'wb') as LF: LF.write(child.read()) check_call([