##// END OF EJS Templates
Apply @needs_local_scope to cell magics....
Apply @needs_local_scope to cell magics. While technically this will not be completely needed (at cell magics cannot be in nested scope), it make the API a tiny bit more consistent between line and cell magics. (Bug report I recieved personally that will be submitted later)

File last commit:

r22934:4036b3d9
r24895:43246e6d
Show More
test_imports.py
20 lines | 439 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_strdispatch():
from IPython.utils import strdispatch
def test_import_wildcard():
from IPython.utils import wildcard