projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c273b2
)
comment
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 22 Oct 2010 14:55:39 +0000
(16:55 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 22 Oct 2010 14:55:39 +0000
(16:55 +0200)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index 150b5f7d26df9ee605c62705a29589a42edc1d22..8c28d719ee3fdef5c36f942c3d370440e7a162c1 100644
(file)
--- 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: