From 438dc4504b33aa82b388a75f5519f55f454fc310 Mon Sep 17 00:00:00 2001 From: Mihail Shinder Date: Sat, 20 Nov 2021 14:07:02 +0200 Subject: [PATCH] Save image before get_command() --- Tests/test_imageshow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_imageshow.py b/Tests/test_imageshow.py index 00c7d86e8..832546be5 100644 --- a/Tests/test_imageshow.py +++ b/Tests/test_imageshow.py @@ -78,7 +78,7 @@ def test_commandviewer(): basecmd = "rm -f {file}" viewer = ImageShow.CommandViewer() im = hopper() - viewer.get_command(im, command=basecmd) + viewer.get_command(viewer.save_image(im), command=basecmd) def test_ipythonviewer():