Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
e0494ef1
Commit
e0494ef1
authored
Oct 22, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comment
parent
5c273b27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
runtests.py
runtests.py
+2
-0
No files found.
runtests.py
View file @
e0494ef1
...
@@ -869,6 +869,8 @@ if __name__ == '__main__':
...
@@ -869,6 +869,8 @@ if __name__ == '__main__':
# try if Cython is installed in a Py3 version
# try if Cython is installed in a Py3 version
import
Cython.Compiler.Main
import
Cython.Compiler.Main
except
Exception
:
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
cy_modules
=
[
name
for
name
in
sys
.
modules
if
name
==
'Cython'
or
name
.
startswith
(
'Cython.'
)
]
if
name
==
'Cython'
or
name
.
startswith
(
'Cython.'
)
]
for
name
in
cy_modules
:
for
name
in
cy_modules
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment