# HG changeset patch # User Thierry Bertin-Mahieux # Date 1212525923 14400 # Node ID 792f81d65f82de1b39bb209dcf56c05e9cc8d6d3 # Parent 621faba17c60062081927ee215b07ed778a19ad4 small debugging with dummytests diff -r 621faba17c60 -r 792f81d65f82 test_dataset.py --- 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"""