Skip to content

Commit c5c1f06

Browse files
committed
add explicit encoding
1 parent f011acf commit c5c1f06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

airbyte_cdk/test/standard_tests/models/scenario.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def with_temp_config_file(self) -> Generator[Path, None, None]:
9999
suffix=".json",
100100
mode="w",
101101
delete=False, # Don't fail if cannot delete the file on exit
102+
encoding="utf-8",
102103
) as temp_file:
103104
temp_file.write(json.dumps(config))
104105
temp_file.flush()

0 commit comments

Comments
 (0)