Changeset 11017:512e4e254ad5 in orange


Ignore:
Timestamp:
11/08/12 17:45:59 (18 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Renamed test_missing_instances to missing_instances_test.

Nose picks up the global function and trys to run it (unsuccessfully).

File:
1 edited

Legend:

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

    r11016 r11017  
    9191 
    9292 
    93 def test_missing_instances(self): 
     93def missing_instances_test(self): 
    9494    """Test the learner on a dataset with no instances for 
    9595    some class. 
     
    122122    test_learner_on = test_learner_on 
    123123    test_learner_with_bias_on = test_learner_with_bias_on 
    124     test_missing_instances = test_missing_instances 
     124    test_missing_instances = missing_instances_test 
    125125 
    126126 
     
    131131    test_learner_on = test_learner_on 
    132132    test_learner_with_bias_on = test_learner_with_bias_on 
    133     test_missing_instances = test_missing_instances 
     133    test_missing_instances = missing_instances_test 
    134134 
    135135 
     
    140140    test_learner_on = test_learner_on 
    141141    test_learner_with_bias_on = test_learner_with_bias_on 
    142     test_missing_instances = test_missing_instances 
     142    test_missing_instances = missing_instances_test 
    143143 
    144144 
     
    149149    test_learner_on = test_learner_on 
    150150    test_learner_with_bias_on = test_learner_with_bias_on 
    151     test_missing_instances = test_missing_instances 
     151    test_missing_instances = missing_instances_test 
    152152 
    153153 
     
    158158    test_learner_on = test_learner_on 
    159159    test_learner_with_bias_on = test_learner_with_bias_on 
    160     test_missing_instances = test_missing_instances 
     160    test_missing_instances = missing_instances_test 
    161161 
    162162 
     
    167167    test_learner_on = test_learner_on 
    168168    test_learner_with_bias_on = test_learner_with_bias_on 
    169     test_missing_instances = test_missing_instances 
     169    test_missing_instances = missing_instances_test 
    170170 
    171171 
Note: See TracChangeset for help on using the changeset viewer.