changeset 261:2b91638a11d3

small debugging with dummytests
author Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca>
date Tue, 03 Jun 2008 16:52:06 -0400
parents 792f81d65f82
children 5614b186c5f4 2b16604ffad9
files test_dataset.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/test_dataset.py	Tue Jun 03 16:45:23 2008 -0400
+++ b/test_dataset.py	Tue Jun 03 16:52:06 2008 -0400
@@ -575,7 +575,7 @@
     dummytest3_fields_iterator_consistency(ds)
 
 
-def dummytest1_basicstats(self,ds) :
+def dummytest1_basicstats(ds) :
     """print basics stats on a dataset, like length"""
 
     print 'len(ds) = ',len(ds)
@@ -585,8 +585,8 @@
         print type(ds[0](k)[0]),
     print ''
 
-def dummytest2_slicing(self,ds) :
-    """test if slicing works properly"""
+def dummytest2_slicing(ds) :
+    """test if slicing seems to works properly"""
     print 'testing slicing...',
     sys.stdout.flush()
         
@@ -613,8 +613,8 @@
     print 'done'
 
 
-def dummytest3_fields_iterator_consistency(self,ds) :
-    """ check if the number of iterator corresponds to the number of fields"""
+def dummytest3_fields_iterator_consistency(ds) :
+    """test if the number of iterator corresponds to the number of fields, also do it for minibatches"""
     print 'testing fields/iterator consistency...',
     sys.stdout.flush()