From d750b6a5a0f38761ae7618fa3a522bcc60f42a2f Mon Sep 17 00:00:00 2001 From: Dan Yeaw Date: Wed, 15 May 2024 22:39:56 -0400 Subject: [PATCH] Add additional missing encoding --- tests/console/commands/self/test_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/console/commands/self/test_install.py b/tests/console/commands/self/test_install.py index 3490a2e7bdd..b9cbbb59dc4 100644 --- a/tests/console/commands/self/test_install.py +++ b/tests/console/commands/self/test_install.py @@ -45,7 +45,7 @@ def test_self_install( assert isinstance(command, SelfInstallCommand) pyproject_path = command.system_pyproject if pyproject_content: - pyproject_path.write_text(pyproject_content) + pyproject_path.write_text(pyproject_content, encoding="utf-8") else: assert not pyproject_path.exists()