##// END OF EJS Templates
Remove unused imports in IPython.extensions
Thomas Kluyver -
Show More
@@ -57,7 +57,6 b' from distutils.command.build_ext import build_ext'
57 from IPython.core import display
57 from IPython.core import display
58 from IPython.core import magic_arguments
58 from IPython.core import magic_arguments
59 from IPython.core.magic import Magics, magics_class, cell_magic
59 from IPython.core.magic import Magics, magics_class, cell_magic
60 from IPython.testing.skipdoctest import skip_doctest
61 from IPython.utils import py3compat
60 from IPython.utils import py3compat
62 from IPython.utils.path import get_ipython_cache_dir
61 from IPython.utils.path import get_ipython_cache_dir
63
62
@@ -38,7 +38,6 b' import sys'
38 import tempfile
38 import tempfile
39 from glob import glob
39 from glob import glob
40 from shutil import rmtree
40 from shutil import rmtree
41 from getopt import getopt
42
41
43 # numpy and rpy2 imports
42 # numpy and rpy2 imports
44
43
@@ -57,7 +56,7 b' except ImportError:'
57 # IPython imports
56 # IPython imports
58
57
59 from IPython.core.displaypub import publish_display_data
58 from IPython.core.displaypub import publish_display_data
60 from IPython.core.magic import (Magics, magics_class, cell_magic, line_magic,
59 from IPython.core.magic import (Magics, magics_class, line_magic,
61 line_cell_magic, needs_local_scope)
60 line_cell_magic, needs_local_scope)
62 from IPython.testing.skipdoctest import skip_doctest
61 from IPython.testing.skipdoctest import skip_doctest
63 from IPython.core.magic_arguments import (
62 from IPython.core.magic_arguments import (
@@ -27,8 +27,6 b' maintained here for backwards compatablitiy with old SymPy versions.'
27 #-----------------------------------------------------------------------------
27 #-----------------------------------------------------------------------------
28
28
29 from IPython.lib.latextools import latex_to_png
29 from IPython.lib.latextools import latex_to_png
30 from IPython.testing import decorators as dec
31 # use @dec.skipif_not_sympy to skip tests requiring sympy
32
30
33 try:
31 try:
34 from sympy import pretty, latex
32 from sympy import pretty, latex
@@ -1,7 +1,6 b''
1 from StringIO import StringIO
1 from StringIO import StringIO
2
2
3 import numpy as np
3 import numpy as np
4 from IPython.core.interactiveshell import InteractiveShell
5 from IPython.testing.decorators import skip_without
4 from IPython.testing.decorators import skip_without
6 from IPython.extensions import rmagic
5 from IPython.extensions import rmagic
7 from rpy2 import rinterface
6 from rpy2 import rinterface
General Comments 0
You need to be logged in to leave comments. Login now