##// END OF EJS Templates
Do not force a reload of user config by default....
Do not force a reload of user config by default. Forcing this kind of reload can cause side effects. Also added some notes for future fixing, the way configs are being loaded is a mess right now. Though most of this will get cleaned up in the refactoring anyway.

File last commit:

r190:bc4a676a
r1967:8e7f0d52
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)