Changeset 10253:791698224a53 in orange


Ignore:
Timestamp:
02/15/12 16:17:17 (2 years ago)
Author:
ales_erjavec
Branch:
default
Message:

Re-enabled pickling tests for RandomForest.

File:
1 edited

Legend:

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

    r10151 r10253  
    3232        self.learner = orngEnsemble.RandomForestLearner() 
    3333         
    34     @test_on_datasets(datasets=["iris"]) 
    35     @unittest.expectedFailure 
     34    @test_on_datasets(datasets=testing.CLASSIFICATION_DATASETS + \ 
     35                      testing.REGRESSION_DATASETS) 
    3636    def test_pickling_on(self, dataset): 
    37         raise NotImplemented("SmallTreeLearner pickling is not implemented") 
    38 #        testing.LearnerTestCase.test_pickling_on(self, dataset) 
     37        testing.LearnerTestCase.test_pickling_on(self, dataset) 
    3938         
    4039         
Note: See TracChangeset for help on using the changeset viewer.