From 29259fc441bfab1a112af327d2d12d0a1f0c3bdb Mon Sep 17 00:00:00 2001 From: Brian Granger Date: Tue, 17 Aug 2010 18:38:39 -0700 Subject: [PATCH] Refactor of prompts and the displayhook. * Renamed CachedOutput to displayhook.DisplayHook. * Added methods that DisplayHook.__call__ uses to do its work. These methods can now be overridden for the ZMQ kernel. * Removed all hooks (result_display and generate_output_prompt) that the outputcache was using. We need to add these back in once we figure out what to do about hooks in general. --- IPython/testing/iptest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py index a39e53b54..db139b126 100644 --- a/IPython/testing/iptest.py +++ b/IPython/testing/iptest.py @@ -250,7 +250,7 @@ class IPTester(object): return os.system(' '.join(self.call_args)) else: def _run_cmd(self): - #print >> sys.stderr, '*** CMD:', ' '.join(self.call_args) # dbg + # print >> sys.stderr, '*** CMD:', ' '.join(self.call_args) # dbg subp = subprocess.Popen(self.call_args) self.pids.append(subp.pid) # If this fails, the pid will be left in self.pids and cleaned up