##// END OF EJS Templates
Skip test for PIL handler when it is not available
Takafumi Arakaki -
Show More
@@ -14,6 +14,7 b' from IPython.frontend.terminal.console.interactiveshell \\'
14 import ZMQTerminalInteractiveShell
14 import ZMQTerminalInteractiveShell
15 from IPython.utils.tempdir import NamedFileInTemporaryDirectory
15 from IPython.utils.tempdir import NamedFileInTemporaryDirectory
16 from IPython.testing.tools import monkeypatch
16 from IPython.testing.tools import monkeypatch
17 from IPython.testing.decorators import skip_without
17 from IPython.utils.ipstruct import Struct
18 from IPython.utils.ipstruct import Struct
18 from IPython.utils.process import find_cmd
19 from IPython.utils.process import find_cmd
19
20
@@ -43,6 +44,7 b' class ZMQTerminalInteractiveShellTestCase(unittest.TestCase):'
43
44
44 shell.handle_image(None, None) # arguments are dummy
45 shell.handle_image(None, None) # arguments are dummy
45
46
47 @skip_without('PIL')
46 def test_handle_image_PIL(self):
48 def test_handle_image_PIL(self):
47 import PIL.Image
49 import PIL.Image
48
50
General Comments 0
You need to be logged in to leave comments. Login now