Mercurial > pylearn
comparison _test_dataset.py @ 352:cefa8518ff48
code cleanup
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Tue, 17 Jun 2008 16:50:35 -0400 |
parents | ae6605eccd09 |
children | 18702ceb2096 |
comparison
equal
deleted
inserted
replaced
351:7545207466d4 | 352:cefa8518ff48 |
---|---|
661 for k in range(len(dsc)) : | 661 for k in range(len(dsc)) : |
662 self.failUnless(numpy.all( dsc[k]('input')[0] == ds[k]('input')[0] ) , (dsc[k],ds[k]) ) | 662 self.failUnless(numpy.all( dsc[k]('input')[0] == ds[k]('input')[0] ) , (dsc[k],ds[k]) ) |
663 res = dsc[:] | 663 res = dsc[:] |
664 | 664 |
665 if __name__=='__main__': | 665 if __name__=='__main__': |
666 tests = [] #'test_RenamedFieldsDataSet'] | 666 tests = [] |
667 # unittest.TestSuite(map(T_DataSet, tests)).debug() | |
668 # sys.exit() | |
669 debug=False | 667 debug=False |
670 if len(sys.argv)==1: | 668 if len(sys.argv)==1: |
671 unittest.main() | 669 unittest.main() |
672 else: | 670 else: |
673 assert sys.argv[1]=="--debug" | 671 assert sys.argv[1]=="--debug" |