From 0f5ed8c31a7edf3208b172631e663307ea1548c6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 19 Nov 2021 11:42:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- Tests/test_imageshow.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tests/test_imageshow.py b/Tests/test_imageshow.py index 07e2100e8..14614b29e 100644 --- a/Tests/test_imageshow.py +++ b/Tests/test_imageshow.py @@ -73,12 +73,12 @@ def test_commandviewer(): 'start "Pillow" /WAIT "{file}" ' "&& ping -n 2 127.0.0.1 >NUL " '&& del /f "{file}"' - else: - # Not guessing command, just deleting + else: + # Not guessing command, just deleting basecmd = "rm -f {file}" - viewer = ImageShow.CommandViewer() - im = hopper() - assert viewer.show(im, command=basecmd) == 1 + viewer = ImageShow.CommandViewer() + im = hopper() + assert viewer.show(im, command=basecmd) == 1 def test_ipythonviewer(): pytest.importorskip("IPython", reason="IPython not installed")