[Numpy-svn] r3874 - trunk/numpy

numpy-svn@scip... numpy-svn@scip...
Sun Jun 17 14:18:00 CDT 2007


Author: cookedm
Date: 2007-06-17 14:17:58 -0500 (Sun, 17 Jun 2007)
New Revision: 3874

Modified:
   trunk/numpy/__init__.py
Log:
Print install location, numpy version, and python verstion in numpy.test()


Modified: trunk/numpy/__init__.py
===================================================================
--- trunk/numpy/__init__.py	2007-06-17 18:18:22 UTC (rev 3873)
+++ trunk/numpy/__init__.py	2007-06-17 19:17:58 UTC (rev 3874)
@@ -85,6 +85,10 @@
 """
 
     def test(*args, **kw):
+        import os, sys
+        print 'Numpy is installed in %s' % (os.path.split(__file__)[0],)
+        print 'Numpy version %s' % (__version__,)
+        print 'Python version %s' % (sys.version.replace('\n', '',),)
         return NumpyTest().test(*args, **kw)
     test.__doc__ = NumpyTest.test.__doc__
 



More information about the Numpy-svn mailing list