def testBaseRuleClassifier(self): """ Every classifier that extends _RuleClassifier should override the predict method. It should at this point not yet be available (exception raised). """ base_rule_classifier = _RuleClassifier(domain=self.iris.domain) self.assertRaises(NotImplementedError, base_rule_classifier.predict, self.iris.X)