##// END OF EJS Templates
Added platutils.get_long_path_name to expand paths with "~" on win32....
Added platutils.get_long_path_name to expand paths with "~" on win32. This might be needed to fix ticket https://bugs.launchpad.net/bugs/366353 But, there are still problems with Magic.parse_options

File last commit:

r190:bc4a676a
r1986:03d5e1b5
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)