From afd446be616eaa6332f3020a3a6cb8f15e209c25 2012-04-15 11:37:31 From: Thomas Kluyver Date: 2012-04-15 11:37:31 Subject: [PATCH] Remove unused python3 profile. --- diff --git a/IPython/config/profile/python3/ipython_config.py b/IPython/config/profile/python3/ipython_config.py deleted file mode 100644 index f710a56..0000000 --- a/IPython/config/profile/python3/ipython_config.py +++ /dev/null @@ -1,11 +0,0 @@ -c = get_config() - -# If the master config file uses syntax that's invalid in Python 3, we'll skip -# it and just use the factory defaults. -try: - load_subconfig('ipython_config.py', profile='default') -except Exception: - pass -else: - # We reset exec_lines in case they're not compatible with Python 3. - c.InteractiveShellApp.exec_lines = [] diff --git a/IPython/core/tests/test_profile.py b/IPython/core/tests/test_profile.py index ddfd8d6..cd945e1 100644 --- a/IPython/core/tests/test_profile.py +++ b/IPython/core/tests/test_profile.py @@ -146,6 +146,6 @@ def test_list_profiles_in(): def test_list_bundled_profiles(): # This variable will need to be updated when a new profile gets bundled - bundled_true = [u'cluster', u'math', u'pysh', u'python3', u'sympy'] + bundled_true = [u'cluster', u'math', u'pysh', u'sympy'] bundled = sorted(list_bundled_profiles()) nt.assert_equals(bundled, bundled_true)