diff --git a/Tests/test_imageshow.py b/Tests/test_imageshow.py index c0161537b..ff2bafead 100644 --- a/Tests/test_imageshow.py +++ b/Tests/test_imageshow.py @@ -78,7 +78,8 @@ def test_commandviewer(): basecmd = "rm -f {file}" viewer = ImageShow.CommandViewer() im = hopper() - assert viewer.show(im, command=basecmd) == 1 + try: + viewer.get_command(im, command=basecmd) def test_ipythonviewer():