From 01b063a50cf8385f6c69f4fdeb1d9bf757246482 Mon Sep 17 00:00:00 2001 From: Dominik Wernberger Date: Sat, 13 Jul 2024 10:38:06 +0200 Subject: [PATCH] fix --- test/py/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/testing.py b/test/py/testing.py index ebd971e..4b45d99 100644 --- a/test/py/testing.py +++ b/test/py/testing.py @@ -135,7 +135,7 @@ def create_repo_cpp_unit_test(repo: Repository, path_repo: Path, path_unit_test: f.write(unit_test) - with path_unit_test.open('w', encoding='utf-8') as f: + with path_unit_test.open(encoding='utf-8') as f: print(path_unit_test) print(f.read())