Commit 7e83fcf7 authored by Stefan Behnel's avatar Stefan Behnel

print versions of Cython and Python when running tests

parent 7c0cebd3
...@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment