From: Stefan Behnel Date: Fri, 22 Oct 2010 14:55:39 +0000 (+0200) Subject: comment X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e0494ef1b0f8217e9e6fa5cbf8ebac7e78c97370;p=cython.git comment --- diff --git a/runtests.py b/runtests.py index 150b5f7d..8c28d719 100644 --- a/runtests.py +++ b/runtests.py @@ -869,6 +869,8 @@ if __name__ == '__main__': # try if Cython is installed in a Py3 version import Cython.Compiler.Main except Exception: + # back out anything the import process loaded, then + # 2to3 the Cython sources to make them re-importable cy_modules = [ name for name in sys.modules if name == 'Cython' or name.startswith('Cython.') ] for name in cy_modules: