'Since we support iterables, we should support generators as well'

def test_preprocessors_can_be_passed_in_as_generator(self):

    pp = (Discretize(),)
    learner = DummyLearnerPP((p for p in pp))
    self.assertEqual(tuple(learner.active_preprocessors), pp, 'Preprocessors    should    be    able    to    be    passed    in    as    single    object    as    well    as    an    iterable    object')
