[Scipy-svn] r3268 - trunk/scipy/weave/tests

scipy-svn@scip... scipy-svn@scip...
Mon Aug 27 15:12:58 CDT 2007


Author: eric
Date: 2007-08-27 15:12:57 -0500 (Mon, 27 Aug 2007)
New Revision: 3268

Modified:
   trunk/scipy/weave/tests/test_c_spec.py
Log:
Fixed a 'base class' tests so that it could run on its own.  The test suite is finding it and running it that way causing failures.  This is related to #490, but doesn't fix all the failures there.

Modified: trunk/scipy/weave/tests/test_c_spec.py
===================================================================
--- trunk/scipy/weave/tests/test_c_spec.py	2007-08-27 17:07:05 UTC (rev 3267)
+++ trunk/scipy/weave/tests/test_c_spec.py	2007-08-27 20:12:57 UTC (rev 3268)
@@ -512,6 +512,15 @@
 
 
 class test_dict_converter(NumpyTestCase):
+    """ Base Class for dictionary conversion tests.
+    """
+
+    # Default string specifying the compiler to use.  While this is set
+    # in all sub-classes, this base test class is found by the test 
+    # infrastructure and run. Therefore, we give it a default value 
+    # so that it can run on its own. 
+    compiler=''
+
     def check_type_match_bad(self,level=5):
         s = c_spec.dict_converter()
         objs = [[],(),'',1,1.,1+1j]



More information about the Scipy-svn mailing list