From: Stefan Behnel Date: Fri, 2 May 2008 07:03:59 +0000 (+0200) Subject: print versions of Cython and Python when running tests X-Git-Tag: 0.9.8rc1~64 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e83fcf7a6640fc2a7ffaad0cacd55bfa184cedc;p=cython.git print versions of Cython and Python when running tests --- diff --git a/runtests.py b/runtests.py index 1f922e12..6a94e0a2 100644 --- a/runtests.py +++ b/runtests.py @@ -2,6 +2,7 @@ import os, sys, re, shutil, unittest, doctest +from Cython.Compiler.Version import version from Cython.Compiler.Main import \ CompilationOptions, \ default_options as pyrex_default_options, \ @@ -194,6 +195,10 @@ if __name__ == '__main__': if not sys.path or sys.path[0] != WORKDIR: sys.path.insert(0, WORKDIR) + print "Running tests against Cython %s" % version + print "Python", sys.version + print + try: sys.argv.remove("-C") except ValueError: