##// END OF EJS Templates
Work on inputhook....
Work on inputhook. * We now hold references to qt4 and wx apps that are created. * For wx and qt4 we now first try to get an existing app if it exists. * We now hijack the mainloops for all gui toolkits. * Longer poll time for wx.

File last commit:

r190:bc4a676a
r2208:2d9d4aa9
Show More
manualtest_repr_tb.py
16 lines | 380 B | text/x-python | PythonLexer
/ test / manualtest_repr_tb.py
"""This should be run directly from ipython, and it should NOT crash.
It can't currently be run via runtests b/c exception handling changes there,
and this is precisely testing exception handling problems."""
ipmagic('xmode verbose')
src = """
class suck(object):
def __repr__(self):
raise ValueError("who needs repr anyway")
suck()
"""
__IPYTHON__.runlines(src)