From 321c2741deb3e66c473b6980f41fa9e02bd81a65 2009-07-02 18:52:23 From: Brian Granger Date: 2009-07-02 18:52:23 Subject: [PATCH] winconsole.py => utils/winconsole.py and imports updated. --- diff --git a/IPython/utils/genutils.py b/IPython/utils/genutils.py index 640b025..7786c5c 100644 --- a/IPython/utils/genutils.py +++ b/IPython/utils/genutils.py @@ -53,7 +53,7 @@ from IPython.utils.generics import result_display from IPython.core import ipapi from IPython.external.path import path if os.name == "nt": - from IPython.winconsole import get_console_size + from IPython.utils.winconsole import get_console_size try: set diff --git a/IPython/utils/tests/test_imports.py b/IPython/utils/tests/test_imports.py index e8c2060..62be4cf 100644 --- a/IPython/utils/tests/test_imports.py +++ b/IPython/utils/tests/test_imports.py @@ -33,3 +33,6 @@ def test_import_upgradedir(): def test_import_wildcard(): from IPython.utils import wildcard + +def test_import_winconsole(): + from IPython.utils import winconsole diff --git a/IPython/winconsole.py b/IPython/utils/winconsole.py similarity index 100% rename from IPython/winconsole.py rename to IPython/utils/winconsole.py