##// END OF EJS Templates
Lots of work on exception handling, including tests for traceback printing....
Lots of work on exception handling, including tests for traceback printing. We finally have some tests for various exception mode printing, via doctests that exercise all three modes! Also changed handling of sys.exit(X) to only print the summary message, as SystemExit is most often a 'handled' exception. It can still be 100% silenced via '%run -e', but now it's much less intrusive. Added a new %tb magic to print the last available traceback with the current xmode. One can then re-print the last traceback with more detail if desired, without having to cause it again.

File last commit:

r2052:321c2741
r2440:0caaf43a
Show More
test_imports.py
38 lines | 882 B | text/x-python | PythonLexer
#!/usr/bin/env python
# encoding: utf-8
def test_import_coloransi():
from IPython.utils import coloransi
def test_import_DPyGetOpt():
from IPython.utils import DPyGetOpt
def test_import_generics():
from IPython.utils import generics
def test_import_genutils():
from IPython.utils import genutils
def test_import_ipstruct():
from IPython.utils import ipstruct
def test_import_platutils():
from IPython.utils import platutils
def test_import_PyColorize():
from IPython.utils import PyColorize
def test_import_rlineimpl():
from IPython.utils import rlineimpl
def test_import_strdispatch():
from IPython.utils import strdispatch
def test_import_upgradedir():
from IPython.utils import upgradedir
def test_import_wildcard():
from IPython.utils import wildcard
def test_import_winconsole():
from IPython.utils import winconsole