From 759225cf816db501d56bf898bb4970137dea3ee5 2012-04-06 21:34:52 From: Thomas Kluyver Date: 2012-04-06 21:34:52 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