Changeset 8939:e2cdffe99aac in orange


Ignore:
Timestamp:
09/09/11 15:34:57 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
73f34631850a3cb4c1f78b7bb0398747deb622a9
Message:

Fixed errors in clustering and ensemble test cases.

Location:
testing/unittests/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testing/unittests/tests/test_ensemble.py

    r8735 r8939  
    3636if __name__ == "__main__": 
    3737    import unittest 
    38     unittest.run() 
     38    unittest.main() 
    3939                 
  • testing/unittests/tests/test_hclustering.py

    r8735 r8939  
    3131             
    3232    @testing.test_on_datasets(datasets=["iris"]) 
    33     def test_pickling_on(self): 
    34         data = iter(self.datasets()).next() 
     33    def test_pickling_on(self, data): 
     34#        data = iter(self.datasets()).next() 
    3535        cluster = clustering(data, EuclideanConstructor, HierarchicalClustering.Single) 
    3636        import cPickle 
Note: See TracChangeset for help on using the changeset viewer.