##// END OF EJS Templates
BUG: Scrolling pager in vsplit on Mac OSX tears....
BUG: Scrolling pager in vsplit on Mac OSX tears. On Mac OS X, scrolling the pager when it is split vertically causes the help text to tear (i.e. the help text is unreadable). This hack attempts to make it a little better although the solution may not be optimal at all.

File last commit:

r5390:c82649ea
r5733:811b7457
Show More
test_message_spec.py
40 lines | 1017 B | text/x-python | PythonLexer
/ IPython / zmq / tests / test_message_spec.py
Fernando Perez
Rework messaging to better conform to our spec....
r2926 """Test suite for our zeromq-based messaging specification.
"""
#-----------------------------------------------------------------------------
Matthias BUSSONNIER
update copyright to 2011/20xx-2011...
r5390 # Copyright (C) 2010-2011 The IPython Development Team
Fernando Perez
Rework messaging to better conform to our spec....
r2926 #
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING.txt, distributed as part of this software.
#-----------------------------------------------------------------------------
import sys
import time
import nose.tools as nt
from ..blockingkernelmanager import BlockingKernelManager
from IPython.utils import io
def setup():
global KM
KM = BlockingKernelManager()
KM.start_kernel()
KM.start_channels()
# Give the kernel a chance to come up.
time.sleep(1)
def teardown():
io.rprint('Entering teardown...') # dbg
io.rprint('Stopping channels and kernel...') # dbg
KM.stop_channels()
KM.kill_kernel()
# Actual tests
def test_execute():
MinRK
cleanup channel names to match function not socket...
r3974 KM.shell_channel.execute(code='x=1')
KM.shell_channel.execute(code='print 1')
Fernando Perez
Rework messaging to better conform to our spec....
r2926