From d6767fa1bc873864074474bedb6cc3e59c20fc7e Mon Sep 17 00:00:00 2001 From: StephanDeHoop Date: Tue, 17 Dec 2024 10:42:34 +0100 Subject: [PATCH] add encoding --- tests/everest/test_detached.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/everest/test_detached.py b/tests/everest/test_detached.py index 50832e650cc..81a0dfe8204 100644 --- a/tests/everest/test_detached.py +++ b/tests/everest/test_detached.py @@ -53,7 +53,7 @@ async def test_https_requests(tmp_path, monkeypatch, min_config): monkeypatch.chdir(tmp_path) with open("sleep_job", "w", encoding="utf-8") as fout: fout.write("EXECUTABLE sleep") - with open("config.yml", "w") as fout: + with open("config.yml", "w", encoding="utf-8") as fout: yaml.dump(min_config | { "install_jobs": [{"name": "sleep", "source": "sleep_job"}], "forward_model": ["sleep --sleep 10"],