# HG changeset patch # User Frederic Bastien # Date 1210623730 14400 # Node ID e8c8022582f460bde087a282a8d73c153d48e427 # Parent f8a1ae7eb83e1ece601e590f03a1016d8c61ee6d only exec the test if we are the main diff -r f8a1ae7eb83e -r e8c8022582f4 test_dataset.py --- a/test_dataset.py Mon May 12 16:13:48 2008 -0400 +++ b/test_dataset.py Mon May 12 16:22:10 2008 -0400 @@ -436,9 +436,9 @@ def test_ArrayFieldsDataSet(): print "test_ArrayFieldsDataSet" raise NotImplementedError() - -test1() -test_LookupList() -test_ArrayDataSet() -test_CacheDataSet() +if __name__=='__main__': + test1() + test_LookupList() + test_ArrayDataSet() + test_CacheDataSet() #test pmat.py