From 449f64aeb11cf81ed4630586f7caa56b42d7d581 2012-08-22 14:46:29 From: Takafumi Arakaki Date: 2012-08-22 14:46:29 Subject: [PATCH] Fix test_no_call_by_default raise_if_called was not used as intended --- diff --git a/IPython/frontend/terminal/console/tests/test_image_handler.py b/IPython/frontend/terminal/console/tests/test_image_handler.py index 5e0f530..528a492 100644 --- a/IPython/frontend/terminal/console/tests/test_image_handler.py +++ b/IPython/frontend/terminal/console/tests/test_image_handler.py @@ -37,10 +37,10 @@ class ZMQTerminalInteractiveShellTestCase(unittest.TestCase): assert False shell = self.shell - shell.handle_image_PIL - shell.handle_image_stream - shell.handle_image_tempfile - shell.handle_image_callable + shell.handle_image_PIL = raise_if_called + shell.handle_image_stream = raise_if_called + shell.handle_image_tempfile = raise_if_called + shell.handle_image_callable = raise_if_called shell.handle_image(None, None) # arguments are dummy