Commits

Aleš Erjavec committed 6440cdd

Fixed a test for feature selection.

Comments (0)

Files changed (1)

Orange/testing/unit/tests/test_feature_selection.py

         domain = Orange.data.Domain(data.domain.features[:2],
                                     data.domain.class_var,
                                     class_vars=[data.domain.features[2]])
-        domain.add_metas({-1, data.domain.features[3]})
+        domain.add_metas({-1: data.domain.features[3]})
         data = Orange.data.Table(domain, data)
 
         d1 = selection._select_features_subset(data, [data.domain[0]])