Ignore:
Timestamp:
04/10/12 16:21:31 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

BUGFIX: Fixed 'to_string' method to work even if model statistics are not available.

File:
1 edited

Legend:

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

    r10655 r10777  
    2828    def test_learner_on(self, dataset): 
    2929        testing.LearnerTestCase.test_learner_on(self, dataset) 
    30         if self.classifier.p_vals: 
    31             self.assertTrue(isinstance(self.classifier.to_string(), str)) 
     30        self.assertTrue(isinstance(self.classifier.to_string(), str)) 
    3231 
    3332 
Note: See TracChangeset for help on using the changeset viewer.