From 2911f3ed7db45ec2571772a9e25513559d480179 2012-01-20 11:33:02 From: Thomas Kluyver Date: 2012-01-20 11:33:02 Subject: [PATCH] Remove now-superfluous code in autoreload extension. --- diff --git a/IPython/extensions/autoreload.py b/IPython/extensions/autoreload.py index cdb9164..f3ffd1e 100644 --- a/IPython/extensions/autoreload.py +++ b/IPython/extensions/autoreload.py @@ -210,9 +210,6 @@ class ModuleReloader(object): except ValueError: continue - if ext != PY_COMPILED_EXT: - continue - try: pymtime = os.stat(py_filename).st_mtime if pymtime <= os.stat(pyc_filename).st_mtime: diff --git a/IPython/extensions/tests/test_autoreload.py b/IPython/extensions/tests/test_autoreload.py index d8604fa..d4b4005 100644 --- a/IPython/extensions/tests/test_autoreload.py +++ b/IPython/extensions/tests/test_autoreload.py @@ -11,7 +11,6 @@ import IPython.testing.tools as tt from IPython.extensions.autoreload import AutoreloadInterface from IPython.core.hooks import TryNext -from IPython.testing.decorators import knownfailureif #----------------------------------------------------------------------------- # Test fixture