diff --git a/tests/test_python/test_generate_FV3LAM_wflow.py b/tests/test_python/test_generate_FV3LAM_wflow.py index ae1e174e1..53b8f7ccd 100644 --- a/tests/test_python/test_generate_FV3LAM_wflow.py +++ b/tests/test_python/test_generate_FV3LAM_wflow.py @@ -32,7 +32,7 @@ def run_workflow(USHdir, logfile): p.join() exit_code = p.exitcode if exit_code != 0: - with open(logfile, 'r') as fin: + with open(logfile, 'r', encoding='utf-8') as fin: print(fin.read()) sys.exit(exit_code)