[Scipy-svn] r3851 - trunk/scipy/testing
scipy-svn@scip...
scipy-svn@scip...
Sat Jan 19 09:39:56 CST 2008
Author: matthew.brett@gmail.com
Date: 2008-01-19 09:39:51 -0600 (Sat, 19 Jan 2008)
New Revision: 3851
Modified:
trunk/scipy/testing/nulltester.py
Log:
Fix bench error on scipy import when nose is not installed
Modified: trunk/scipy/testing/nulltester.py
===================================================================
--- trunk/scipy/testing/nulltester.py 2008-01-19 00:54:50 UTC (rev 3850)
+++ trunk/scipy/testing/nulltester.py 2008-01-19 15:39:51 UTC (rev 3851)
@@ -13,4 +13,6 @@
pass
def test(self, labels=None, *args, **kwargs):
raise ImportError, 'Need nose for tests - see %s' % nose_url
+ def bench(self, labels=None, *args, **kwargs):
+ raise ImportError, 'Need nose for benchmarks - see %s' % nose_url
More information about the Scipy-svn
mailing list