mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-21 04:34:47 +03:00
using get_command() instead of show() to avoid win32 hanging
This commit is contained in:
parent
dd69c7fe7a
commit
054c3f5463
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue
Block a user