[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-11-19 11:42:39 +00:00
parent ef6904ccd7
commit 0f5ed8c31a

View File

@ -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")