mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-19 16:02:56 +00:00
Remove explicit utf-8 from decode() as it's default (#2237)
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user