From 7a5990be1f90766de2d59194bdec73327b0885c0 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 23 Jan 2024 13:11:02 +0100 Subject: [PATCH] Do not rewrite variable with another value --- tests/scipy-notebook/test_matplotlib.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/scipy-notebook/test_matplotlib.py b/tests/scipy-notebook/test_matplotlib.py index c67f039cd3..e96bc8c859 100644 --- a/tests/scipy-notebook/test_matplotlib.py +++ b/tests/scipy-notebook/test_matplotlib.py @@ -38,11 +38,10 @@ def test_matplotlib( cont_data_dir = "/home/jovyan/data" output_dir = "/tmp" LOGGER.info(description) - command = "sleep infinity" running_container = container.run_detached( volumes={str(host_data_dir): {"bind": cont_data_dir, "mode": "ro"}}, tty=True, - command=["bash", "-c", command], + command=["bash", "-c", "sleep infinity"], ) command = f"python {cont_data_dir}/{test_file}" cmd = running_container.exec_run(command)