##// END OF EJS Templates
FakeModule.py => core/fakemodule.py and updated tests and imports.
Brian Granger -
Show More
@@ -14,7 +14,7 b' ip = IPython.ipapi.get()'
14 import pickleshare
14 import pickleshare
15
15
16 import inspect,pickle,os,sys,textwrap
16 import inspect,pickle,os,sys,textwrap
17 from IPython.FakeModule import FakeModule
17 from IPython.core.fakemodule import FakeModule
18 from IPython.ipstruct import Struct
18 from IPython.ipstruct import Struct
19
19
20
20
@@ -12,7 +12,7 b' ip = IPython.ipapi.get()'
12 import pickleshare
12 import pickleshare
13
13
14 import inspect,pickle,os,sys,textwrap
14 import inspect,pickle,os,sys,textwrap
15 from IPython.FakeModule import FakeModule
15 from IPython.core.fakemodule import FakeModule
16
16
17 def restore_aliases(self):
17 def restore_aliases(self):
18 ip = self.getapi()
18 ip = self.getapi()
@@ -45,7 +45,7 b' except ImportError:'
45 import IPython
45 import IPython
46 from IPython import OInspect, wildcard
46 from IPython import OInspect, wildcard
47 from IPython.core import debugger
47 from IPython.core import debugger
48 from IPython.FakeModule import FakeModule
48 from IPython.core.fakemodule import FakeModule
49 from IPython.Itpl import Itpl, itpl, printpl,itplns
49 from IPython.Itpl import Itpl, itpl, printpl,itplns
50 from IPython.PyColorize import Parser
50 from IPython.PyColorize import Parser
51 from IPython.ipstruct import Struct
51 from IPython.ipstruct import Struct
1 NO CONTENT: file renamed from IPython/FakeModule.py to IPython/core/fakemodule.py
NO CONTENT: file renamed from IPython/FakeModule.py to IPython/core/fakemodule.py
@@ -3,7 +3,7 b''
3
3
4 import nose.tools as nt
4 import nose.tools as nt
5
5
6 from IPython.FakeModule import FakeModule, init_fakemod_dict
6 from IPython.core.fakemodule import FakeModule, init_fakemod_dict
7
7
8 # Make a fakemod and check a few properties
8 # Make a fakemod and check a few properties
9 def test_mk_fakemod():
9 def test_mk_fakemod():
@@ -8,4 +8,8 b' def test_import_crashhandler():'
8 from IPython.core import crashhandler
8 from IPython.core import crashhandler
9
9
10 def test_import_debugger():
10 def test_import_debugger():
11 from IPython.core import debugger No newline at end of file
11 from IPython.core import debugger
12
13 def test_import_fakemodule():
14 from IPython.core import fakemodule
15
@@ -48,7 +48,7 b' import tempfile'
48 from IPython import OInspect,PyColorize,ultraTB
48 from IPython import OInspect,PyColorize,ultraTB
49 from IPython.core import debugger
49 from IPython.core import debugger
50 from IPython.Extensions import pickleshare
50 from IPython.Extensions import pickleshare
51 from IPython.FakeModule import FakeModule, init_fakemod_dict
51 from IPython.core.fakemodule import FakeModule, init_fakemod_dict
52 from IPython.Itpl import ItplNS
52 from IPython.Itpl import ItplNS
53 from IPython.Logger import Logger
53 from IPython.Logger import Logger
54 from IPython.Magic import Magic
54 from IPython.Magic import Magic
@@ -200,7 +200,7 b' def make_runners():'
200 top_mod = \
200 top_mod = \
201 ['backgroundjobs.py', 'coloransi.py', 'completer.py', 'configloader.py',
201 ['backgroundjobs.py', 'coloransi.py', 'completer.py', 'configloader.py',
202 'crashhandler.py', 'debugger.py', 'deepreload.py', 'demo.py',
202 'crashhandler.py', 'debugger.py', 'deepreload.py', 'demo.py',
203 'DPyGetOpt.py', 'dtutils.py', 'excolors.py', 'FakeModule.py',
203 'DPyGetOpt.py', 'dtutils.py', 'excolors.py', 'fakemodule.py',
204 'generics.py', 'genutils.py', 'history.py', 'hooks.py', 'ipapi.py',
204 'generics.py', 'genutils.py', 'history.py', 'hooks.py', 'ipapi.py',
205 'iplib.py', 'ipmaker.py', 'ipstruct.py', 'Itpl.py',
205 'iplib.py', 'ipmaker.py', 'ipstruct.py', 'Itpl.py',
206 'Logger.py', 'macro.py', 'Magic.py', 'OInspect.py',
206 'Logger.py', 'macro.py', 'Magic.py', 'OInspect.py',
@@ -105,15 +105,14 b' Where things will be moved'
105
105
106 * :file:`DPyGetOpt.py`. Move to :mod:`IPython.utils` and replace with newer options parser.
106 * :file:`DPyGetOpt.py`. Move to :mod:`IPython.utils` and replace with newer options parser.
107
107
108 * :file:`dtutils.py`. Remove or move to :file:`IPython.testing` or
108 * :file:`dtutils.py`. Move to :file:`IPython.deathrow`.
109 :file:`IPython.lib`.
110
109
110 * :file:`FakeModule.py`. Move to :file:`IPython/core/fakemodule.py`.
111
111
112
112
113 * :file:`Extensions`. This needs to be gone through separately. Minimally,
113 * :file:`Extensions`. This needs to be gone through separately. Minimally,
114 the package should be renamed to :file:`extensions`.
114 the package should be renamed to :file:`extensions`.
115
115
116 * :file:`FakeModule.py`. Move to :file:`IPython/core/fakemodule.py`.
117
116
118 * :file:`Gnuplot2.py`. Move to :file:`IPython.sandbox`.
117 * :file:`Gnuplot2.py`. Move to :file:`IPython.sandbox`.
119
118
General Comments 0
You need to be logged in to leave comments. Login now