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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
7e83fcf7
Commit
7e83fcf7
authored
May 02, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print versions of Cython and Python when running tests
parent
7c0cebd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
runtests.py
runtests.py
+5
-0
No files found.
runtests.py
View file @
7e83fcf7
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
import
os
,
sys
,
re
,
shutil
,
unittest
,
doctest
import
os
,
sys
,
re
,
shutil
,
unittest
,
doctest
from
Cython.Compiler.Version
import
version
from
Cython.Compiler.Main
import
\
from
Cython.Compiler.Main
import
\
CompilationOptions
,
\
CompilationOptions
,
\
default_options
as
pyrex_default_options
,
\
default_options
as
pyrex_default_options
,
\
...
@@ -194,6 +195,10 @@ if __name__ == '__main__':
...
@@ -194,6 +195,10 @@ if __name__ == '__main__':
if
not
sys
.
path
or
sys
.
path
[
0
]
!=
WORKDIR
:
if
not
sys
.
path
or
sys
.
path
[
0
]
!=
WORKDIR
:
sys
.
path
.
insert
(
0
,
WORKDIR
)
sys
.
path
.
insert
(
0
,
WORKDIR
)
print
"Running tests against Cython %s"
%
version
print
"Python"
,
sys
.
version
print
try
:
try
:
sys
.
argv
.
remove
(
"-C"
)
sys
.
argv
.
remove
(
"-C"
)
except
ValueError
:
except
ValueError
:
...
...
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