##// END OF EJS Templates
- Added a fallback to urllib2 for python2...
- Added a fallback to urllib2 for python2 - included urlopen call in a try/except block to avoid crash when no internet connection is available

File last commit:

r9174:3a2553df
r21865:a48716ad
Show More
test_imports.py
23 lines | 509 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_wildcard():
from IPython.utils import wildcard