From da0c302ea4cf02dd714c29945fac1fe87f224597 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:50:42 +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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tests/test_imageshow.py b/Tests/test_imageshow.py index 12c754544..c0161537b 100644 --- a/Tests/test_imageshow.py +++ b/Tests/test_imageshow.py @@ -67,10 +67,10 @@ def test_viewers(): except NotImplementedError: pass + def test_commandviewer(): if is_win32(): - basecmd = \ - 'start "Pillow" /WAIT "{file}" ' + basecmd = 'start "Pillow" /WAIT "{file}" ' "&& ping -n 2 127.0.0.1 >NUL " '&& del /f "{file}"' else: @@ -80,6 +80,7 @@ def test_commandviewer(): im = hopper() assert viewer.show(im, command=basecmd) == 1 + def test_ipythonviewer(): pytest.importorskip("IPython", reason="IPython not installed") for viewer in ImageShow._viewers: