using get_command() instead of show() to avoid win32 hanging

This commit is contained in:
Mihail Shinder 2021-11-20 13:34:22 +02:00
parent dd69c7fe7a
commit 054c3f5463
No known key found for this signature in database
GPG Key ID: C89443B0B525978E

View File

@ -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():