[Scipy-svn] r6782 - trunk/scipy/io/arff

scipy-svn@scip... scipy-svn@scip...
Sun Sep 12 12:20:55 CDT 2010


Author: ptvirtan
Date: 2010-09-12 12:20:54 -0500 (Sun, 12 Sep 2010)
New Revision: 6782

Modified:
   trunk/scipy/io/arff/__init__.py
   trunk/scipy/io/arff/setup.py
Log:
TST: io/arff: add test() method to subpackage, and install the tests

Modified: trunk/scipy/io/arff/__init__.py
===================================================================
--- trunk/scipy/io/arff/__init__.py	2010-09-12 04:28:18 UTC (rev 6781)
+++ trunk/scipy/io/arff/__init__.py	2010-09-12 17:20:54 UTC (rev 6782)
@@ -10,3 +10,6 @@
 import arffread
 
 __all__ = arffread.__all__
+
+from numpy.testing import Tester
+test = Tester().test

Modified: trunk/scipy/io/arff/setup.py
===================================================================
--- trunk/scipy/io/arff/setup.py	2010-09-12 04:28:18 UTC (rev 6781)
+++ trunk/scipy/io/arff/setup.py	2010-09-12 17:20:54 UTC (rev 6782)
@@ -3,7 +3,7 @@
 def configuration(parent_package='io',top_path=None):
     from numpy.distutils.misc_util import Configuration
     config = Configuration('arff', parent_package, top_path)
-    #config.add_data_dir('tests')
+    config.add_data_dir('tests')
     return config
 
 if __name__ == '__main__':



More information about the Scipy-svn mailing list