##// END OF EJS Templates
Remove unused imports in IPython.lib
Thomas Kluyver -
Show More
@@ -417,7 +417,6 b' class InputHookManager(object):'
417 IPython.
417 IPython.
418
418
419 """
419 """
420 import pyglet
421 from IPython.lib.inputhookpyglet import inputhook_pyglet
420 from IPython.lib.inputhookpyglet import inputhook_pyglet
422 self.set_inputhook(inputhook_pyglet)
421 self.set_inputhook(inputhook_pyglet)
423 self._current_gui = GUI_PYGLET
422 self._current_gui = GUI_PYGLET
@@ -33,7 +33,6 b' import os'
33 import sys
33 import sys
34 import time
34 import time
35 import signal
35 import signal
36 import OpenGL
37 import OpenGL.GLUT as glut
36 import OpenGL.GLUT as glut
38 import OpenGL.platform as platform
37 import OpenGL.platform as platform
39 from timeit import default_timer as clock
38 from timeit import default_timer as clock
@@ -21,7 +21,6 b' Authors'
21 #-----------------------------------------------------------------------------
21 #-----------------------------------------------------------------------------
22
22
23 import os
23 import os
24 import signal
25 import sys
24 import sys
26 import time
25 import time
27 from timeit import default_timer as clock
26 from timeit import default_timer as clock
@@ -18,7 +18,6 b' Author: Christian Boos'
18
18
19 import os
19 import os
20 import signal
20 import signal
21 import time
22 import threading
21 import threading
23
22
24 from IPython.core.interactiveshell import InteractiveShell
23 from IPython.core.interactiveshell import InteractiveShell
@@ -14,7 +14,6 b''
14 from __future__ import print_function
14 from __future__ import print_function
15
15
16 # Stdlib imports
16 # Stdlib imports
17 import sys
18 import time
17 import time
19
18
20 # Third-party imports
19 # Third-party imports
@@ -22,7 +21,6 b' import nose.tools as nt'
22
21
23 # Our own imports
22 # Our own imports
24 from IPython.lib import backgroundjobs as bg
23 from IPython.lib import backgroundjobs as bg
25 from IPython.testing import decorators as dec
26
24
27 #-----------------------------------------------------------------------------
25 #-----------------------------------------------------------------------------
28 # Globals and constants
26 # Globals and constants
@@ -6,7 +6,6 b''
6 #-----------------------------------------------------------------------------
6 #-----------------------------------------------------------------------------
7
7
8 import os
8 import os
9 import sys
10
9
11 import nose.tools as nt
10 import nose.tools as nt
12
11
@@ -15,7 +15,6 b''
15 from __future__ import print_function
15 from __future__ import print_function
16 from tempfile import NamedTemporaryFile, mkdtemp
16 from tempfile import NamedTemporaryFile, mkdtemp
17 from os.path import split
17 from os.path import split
18 from os import sep
19
18
20 # Third-party imports
19 # Third-party imports
21 import nose.tools as nt
20 import nose.tools as nt
@@ -10,4 +10,4 b' def test_import_demo():'
10 from IPython.lib import demo
10 from IPython.lib import demo
11
11
12 def test_import_irunner():
12 def test_import_irunner():
13 from IPython.lib import demo
13 from IPython.lib import irunner
General Comments 0
You need to be logged in to leave comments. Login now