Remove explicit utf-8 from decode() as it's default (#2237)

This commit is contained in:
Ayaz Salikhov
2025-02-22 14:15:53 +00:00
committed by GitHub
parent 8fc97cb36b
commit 4ee4f2b906
8 changed files with 16 additions and 16 deletions

View File

@@ -45,11 +45,11 @@ def test_matplotlib(
)
command = f"python {cont_data_dir}/{test_file}"
cmd = running_container.exec_run(command)
LOGGER.debug(cmd.output.decode("utf-8"))
LOGGER.debug(cmd.output.decode())
assert cmd.exit_code == 0, f"Command {command} failed"
# Checking if the file is generated
# https://stackoverflow.com/a/15895594/4413446
command = f"test -s {output_dir}/{expected_file}"
cmd = running_container.exec_run(command)
LOGGER.debug(cmd.output.decode("utf-8"))
LOGGER.debug(cmd.output.decode())
assert cmd.exit_code == 0, f"Command {command} failed"