Skip to content

Commit 36a6d25

Browse files
committed
Fix Windows CI UnicodeDecodeError in script test runner
1 parent 94f32ec commit 36a6d25

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tools/test_scripts.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def test_script_runs(script_path: Path):
5151
env=env,
5252
capture_output=True,
5353
text=True,
54+
encoding='utf-8',
5455
)
5556
if result.returncode != 0:
5657
details = (result.stdout or '') + (result.stderr or '')

0 commit comments

Comments
 (0)