Changeset 9978:e00980dbb07e in orange


Ignore:
Timestamp:
02/07/12 21:28:08 (2 years ago)
Author:
ales_erjavec
Branch:
default
Message:

Disabled pickling test for RandomForest (SmallTreeLearner is not picklable).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/testing/unit/tests/test_ensemble.py

    r9679 r9978  
    2323        testing.LearnerTestCase.test_pickling_on(self, dataset) 
    2424 
     25 
    2526@datasets_driven(datasets=testing.CLASSIFICATION_DATASETS) 
    2627class TestRandomForest(testing.LearnerTestCase): 
     
    3132    @test_on_datasets(datasets=["iris"]) 
    3233    def test_pickling_on(self, dataset): 
    33         testing.LearnerTestCase.test_pickling_on(self, dataset) 
     34        raise NotImplemented("SmallTreeLearner pickling is not implemented") 
     35#        testing.LearnerTestCase.test_pickling_on(self, dataset) 
     36         
    3437         
    3538         
Note: See TracChangeset for help on using the changeset viewer.