Explorar el Código

Fix printing failed test output

default_compile_flags
vector-of-bool hace 5 años
padre
commit
c1ed85eda7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      test.py

+ 1
- 1
test.py Ver fichero

@@ -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



Cargando…
Cancelar
Guardar