Skip to content

Commit 7a5990b

Browse files
committed
Do not rewrite variable with another value
1 parent 009821c commit 7a5990b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/scipy-notebook/test_matplotlib.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ def test_matplotlib(
3838
cont_data_dir = "/home/jovyan/data"
3939
output_dir = "/tmp"
4040
LOGGER.info(description)
41-
command = "sleep infinity"
4241
running_container = container.run_detached(
4342
volumes={str(host_data_dir): {"bind": cont_data_dir, "mode": "ro"}},
4443
tty=True,
45-
command=["bash", "-c", command],
44+
command=["bash", "-c", "sleep infinity"],
4645
)
4746
command = f"python {cont_data_dir}/{test_file}"
4847
cmd = running_container.exec_run(command)

0 commit comments

Comments
 (0)