ソースを参照

Fix printing failed test output

default_compile_flags
vector-of-bool 5年前
コミット
c1ed85eda7
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      test.py

+ 1
- 1
test.py ファイルの表示

@@ -32,7 +32,7 @@ def run_test_dir(dir: Path, opts: TestOptions) -> bool:
stderr=subprocess.STDOUT,
)
if res.returncode != 0:
print(f'Test failed with exit code [{res.returncode}]:\n{res.stdout}')
print(f'Test failed with exit code [{res.returncode}]:\n{res.stdout.decode()}')
return res.returncode == 0



読み込み中…
キャンセル
保存