From e0494ef1b0f8217e9e6fa5cbf8ebac7e78c97370 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 22 Oct 2010 16:55:39 +0200 Subject: [PATCH] comment --- runtests.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.26.2