diff --git a/IPython/demo.py b/IPython/lib/demo.py similarity index 100% rename from IPython/demo.py rename to IPython/lib/demo.py diff --git a/IPython/lib/tests/test_imports.py b/IPython/lib/tests/test_imports.py index 7737076..4ad48fa 100644 --- a/IPython/lib/tests/test_imports.py +++ b/IPython/lib/tests/test_imports.py @@ -7,3 +7,5 @@ def test_import_backgroundjobs(): def test_import_deepreload(): from IPython.lib import deepreload +def test_import_demo(): + from IPython.lib import demo \ No newline at end of file diff --git a/docs/source/development/reorg.txt b/docs/source/development/reorg.txt index cc2f4f0..385591c 100644 --- a/docs/source/development/reorg.txt +++ b/docs/source/development/reorg.txt @@ -101,6 +101,7 @@ Where things will be moved * :file:`deep_reload.py`. Move to :file:`IPython/lib/deepreload.py`. +* :file:`demo.py`. Move to :file:`IPython/lib/demo.py`. * :file:`DPyGetOpt.py`. Move to :mod:`IPython.sandbox` and replace with newer options parser. @@ -146,7 +147,6 @@ Where things will be moved * :file:`config`. Good where it is! -* :file:`demo.py`. Move to :file:`IPython/lib/demo.py`. * :file:`dtutils.py`. Remove or move to :file:`IPython.testing` or :file:`IPython.lib`.