##// END OF EJS Templates
protect kernelapp/qtconsole from invalid connection files...
protect kernelapp/qtconsole from invalid connection files (clean error/exit, rather than crash) also use stdlib json to load connection file, not zmq.jsonapi, which can be jsonlib2, which will return Longs, causing TraitError.

File last commit:

r2498:3eae1372
r4986:64e90b1e
Show More
test_imports.py
26 lines | 581 B | text/x-python | PythonLexer
# encoding: utf-8
def test_import_coloransi():
from IPython.utils import coloransi
def test_import_generics():
from IPython.utils import generics
def test_import_ipstruct():
from IPython.utils import ipstruct
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