##// END OF EJS Templates
SList.grep() supports optional 'field' argument
SList.grep() supports optional 'field' argument

File last commit:

r988:2f09c2ab
r1154:7eb542d1
Show More
manualtest_repr_tb.py
16 lines | 380 B | text/x-python | PythonLexer
/ test / manualtest_repr_tb.py
ville
initialization (no svn history)
r988 """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)