mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-21 04:34:47 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
ef6904ccd7
commit
0f5ed8c31a
|
@ -73,12 +73,12 @@ def test_commandviewer():
|
||||||
'start "Pillow" /WAIT "{file}" '
|
'start "Pillow" /WAIT "{file}" '
|
||||||
"&& ping -n 2 127.0.0.1 >NUL "
|
"&& ping -n 2 127.0.0.1 >NUL "
|
||||||
'&& del /f "{file}"'
|
'&& del /f "{file}"'
|
||||||
else:
|
else:
|
||||||
# Not guessing command, just deleting
|
# Not guessing command, just deleting
|
||||||
basecmd = "rm -f {file}"
|
basecmd = "rm -f {file}"
|
||||||
viewer = ImageShow.CommandViewer()
|
viewer = ImageShow.CommandViewer()
|
||||||
im = hopper()
|
im = hopper()
|
||||||
assert viewer.show(im, command=basecmd) == 1
|
assert viewer.show(im, command=basecmd) == 1
|
||||||
|
|
||||||
def test_ipythonviewer():
|
def test_ipythonviewer():
|
||||||
pytest.importorskip("IPython", reason="IPython not installed")
|
pytest.importorskip("IPython", reason="IPython not installed")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user