diff options
Diffstat (limited to 'tests/utils/project.py')
| -rw-r--r-- | tests/utils/project.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils/project.py b/tests/utils/project.py index d6c151b..8df135a 100644 --- a/tests/utils/project.py +++ b/tests/utils/project.py @@ -24,7 +24,7 @@ class GenerateProjectWithPyProjectToml(ProjectDirGenerator): def generate_project(self, temp_dir: str): os.makedirs(temp_dir) - with open(path.join(temp_dir, 'pyproject.toml'), 'w') as f: + with open(path.join(temp_dir, 'pyproject.toml'), 'w', encoding='utf-8') as f: f.write(self._py_project_toml) |