changeset 260:792f81d65f82

small debugging with dummytests
author Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca>
date Tue, 03 Jun 2008 16:45:23 -0400
parents 621faba17c60
children 2b91638a11d3 14b9779622f9
files test_dataset.py
diffstat 1 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/test_dataset.py	Tue Jun 03 16:41:55 2008 -0400
+++ b/test_dataset.py	Tue Jun 03 16:45:23 2008 -0400
@@ -570,16 +570,10 @@
 def dummytest_all(ds) :
     """ Launches all the dummytests with a given dataset. """
 
-
-def test1_basicstats(self,ds) :
-    """print basics stats on a dataset, like length"""
+    dummytest1_basicstats(ds)
+    dummytest2_slicing(ds)
+    dummytest3_fields_iterator_consistency(ds)
 
-    print 'len(ds) = ',len(ds)
-    print 'num fields = ', len(ds.fieldNames())
-    print 'types of field: ',
-    for k in ds.fieldNames() :
-        print type(ds[0](k)[0]),
-    print ''
 
 def dummytest1_basicstats(self,ds) :
     """print basics stats on a dataset, like length"""