##// END OF EJS Templates
Added test for the pretty.py extension and fixed sphinx docs....
Added test for the pretty.py extension and fixed sphinx docs. * The pretty.py extension now has a proper test, although it is minimal. * The latex/pdf Sphinx docs were building as a *single* chapter. The fix was to add a 6th argument of True to the latex_documents entry in conf.py

File last commit:

r190:bc4a676a
r2283:4d9d81ac
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)