def test_subclass(self): d = Detector(self.train_dataset, self.train_dataset, 'dog') assert(isinstance(d, Detector))